Open GoogleCodeExporter opened 9 years ago
After further investigations... it's not a problem with Opera (the code is
actually
authenticating the user when it should not be). In Firefox and IE there is an
inbuilt authentication popup which comes up - which Opera doesn't seem to have,
which has been masking the issue.
I have traced the problem to the RESTClient class. Here the call() function is
incorrectly executing the success function when, in fact, the user has not been
authenticated. See below for the offending code !
httpService.addEventListener(ResultEvent.RESULT, function(evt:ResultEvent):void
{
if (evt.result.hasOwnProperty("error") && evt.result.error != null) {
failureFunc("Failed because: " + evt.result.error);
return;
}
trace("Executed REST service in " + (getTimer() - callStartTime) + "ms");
successFunc(evt.result);
});
Original comment by swami.ke...@gmail.com
on 16 Sep 2009 at 11:10
http://kb2.adobe.com/cps/403/kb403184.html
Original comment by swami.ke...@gmail.com
on 16 Sep 2009 at 12:42
need to set file and collection access permissions properly
Original comment by swami.ke...@gmail.com
on 18 Sep 2009 at 9:24
Original issue reported on code.google.com by
swami.ke...@gmail.com
on 16 Sep 2009 at 9:40