I really love SPServices, so i hope identifying this issue will help to keep the quality of this library.
Implemented Javascript libraries:
jquery-1.10.2.min.js
jquery.SPServices-2013.02a.js
I try to get the rootfolder name of a document library. It works like a charm in SP 2010.
Within SP 2013 i have the following problem:
xData.responseXML returns an "Unspecified error"

xData itself returns a success status and xData.responseText contains the expected value.

```
var currentFolderPath = "";
$().SPServices({
operation: "GetList",
async: true,
webURL: "/",
listName: listName,
completefunc: function (xData, Status) {
$(xData.responseXML).find("List").each(function() {
currentFolderPath = $(this).attr("RootFolder");
});
}
});
```
Comments: Mark, your comment around the fact that 'async' value has an effect on how completefunc() behaves does not sound good to me. It bring up the issue that I thought you fixed here: https://spservices.codeplex.com/discussions/444799 This Issue actually sounds like a non-issue for Patric (seems he got it to work with and without aysnc true/false, but I just wanted to understand if you really meant what you said above regarding async... The code that Patric has above should work (IMO) regardless of the setting to async... Paul. Should we continue this conversation in the Discussions?
Implemented Javascript libraries:
jquery-1.10.2.min.js
jquery.SPServices-2013.02a.js
I try to get the rootfolder name of a document library. It works like a charm in SP 2010.
Within SP 2013 i have the following problem:
xData.responseXML returns an "Unspecified error"

xData itself returns a success status and xData.responseText contains the expected value.

```
var currentFolderPath = "";
$().SPServices({
operation: "GetList",
async: true,
webURL: "/",
listName: listName,
completefunc: function (xData, Status) {
$(xData.responseXML).find("List").each(function() {
currentFolderPath = $(this).attr("RootFolder");
});
}
});
```
Comments: Mark, your comment around the fact that 'async' value has an effect on how completefunc() behaves does not sound good to me. It bring up the issue that I thought you fixed here: https://spservices.codeplex.com/discussions/444799 This Issue actually sounds like a non-issue for Patric (seems he got it to work with and without aysnc true/false, but I just wanted to understand if you really meant what you said above regarding async... The code that Patric has above should work (IMO) regardless of the setting to async... Paul. Should we continue this conversation in the Discussions?