| Project: | formsPlayer |
| Version: | 1.5.2 |
| Component: | Code |
| Category: | bug |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
In some cases, formsPlayer fires the xforms-submit-done event before the events corresponding to the submission are complete.
In our form, we use an event handler for the xforms-submit-done event to trigger the loading of a resource that logs the user out. If this resource is loaded before the submission is done, though, the submission may fail because the user's session will have been invalidated.
<xf:action ev:event="xforms-submit-done"> <xf:load resource="http://example.org/some/logout/uri"/> </xf:action>
Please note that with this problem, it is difficult to provide a test case, as the results that we are seeing involve client and server interaction in the case where a form submission happens after an event handler for the xforms-submit-done event is dispatched. If you have significant problems with reproducing this issue, we can try to put a test case together.

Recent comments
7 weeks 3 days ago
9 weeks 2 days ago
16 weeks 2 days ago
40 weeks 4 hours ago
49 weeks 4 days ago
1 year 48 weeks ago
1 year 48 weeks ago
2 years 1 day ago
2 years 1 week ago
2 years 1 week ago