jedivind / ubiquity-xforms

Automatically exported from code.google.com/p/ubiquity-xforms
1 stars 0 forks source link

W3C test case 11.1.r is failing in Safari #584

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
W3C test 11.1.r is a simple test of @replace="instance", but it is not 
working in Safari.

Original issue reported on code.google.com by phil.boo...@gtempaccount.com on 7 Oct 2009 at 12:05

GoogleCodeExporter commented 8 years ago
Investigating in the debugger, I can see that the correct submission result has 
been 
received in submission.processResult(). But, because the HTTP status code is 
zero, the 
result is not being used and xforms-submit-error processing is instigated 
instead.

Original comment by phil.boo...@gtempaccount.com on 7 Oct 2009 at 12:39

GoogleCodeExporter commented 8 years ago

Original comment by phil.boo...@gtempaccount.com on 7 Oct 2009 at 3:06

GoogleCodeExporter commented 8 years ago

Original comment by phil.boo...@gtempaccount.com on 14 Oct 2009 at 9:20

GoogleCodeExporter commented 8 years ago
There was a nice, long explanatory comment here, but GC did that whole 
the-page-has-
changed BS and it got lost, *sigh*.

Anyway, the nub and the gist of it was that there is a change awaiting review 
at 
r3065. That change includes changes to the backplane library, so there is also 
a 
patch up on bitbucket:

http://bitbucket.org/philbooth/backplane-patches/changeset/92859f97ca00/

The cause of the problem was XHR returning a status code of zero for local 
files. The 
most obvious fix, to simply allow status 0 for local submissions has been tried 
before, but apparently caused other problems. Hence this fix places the 
functionality 
into the backplane library, which happens to be hosted in a mercurial repo, 
hence the 
bitbucket link.

Original comment by phil.boo...@gtempaccount.com on 14 Oct 2009 at 4:16

GoogleCodeExporter commented 8 years ago
Fix went into trunk at r3090.

Original comment by phil.boo...@gtempaccount.com on 16 Oct 2009 at 10:02