Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Closed Unassigned: Error when calling GetListItems on web app root [10171]

$
0
0
(This is very similar to bug: http://spservices.codeplex.com/workitem/10155)
(using Version 2013.01)

When calling GetListItems without providing the webUrl parameter the parameter defaults to the empty string. When the current site is the root of the web app (such as http://example/SitePages/Home.aspx) the following line (428) calculates the ajaxURL:

ajaxURL = $().SPServices.SPGetCurrentSite() + SLASH + ajaxURL;

which for GetListItems results in "//_vti_bin/Lists.asmx".

In IE9 this causes a "No Transport" error (shows up in xData.statusText).

The current workaround is to either specify the fully-qualified site path (http://example/) or server relative path ("/")


Comments: Closing in favor of the pre-existing bug http://spservices.codeplex.com/workitem/10155)

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>