Re: Dispatch with @delay firing multiple times
Posted by Dan Kereliuk on
URL: https://discuss.orbeon.com/Dispatch-with-delay-firing-multiple-times-tp3649476p3926675.html
We're still in the process of upgrading. Right now we're testing on our development server and it appears to be running fine. However, we've had to change large chunks of our code to work around some of the changed behavior between 3.9 and 3.8.
The first problem was with redirect responses being returned from the server after a POST request. GET requests worked, but POST would just show a blank page instead of redirecting. We've worked around this by returning an xml response which would be read and force a redirect indirectly from the client instead.
Next, there seems to be a change to how bind statements work. For example, for the following:
<xf:bind nodeset="instance('form')//*" required="true()">
<xf:bind nodeset="instance('form')/some-node" required="false()">
In 3.8, 'some-node' would not be required, because the second bind overrides the first. In 3.9, 'some-node' would be required, seemingly ignoring the second bind.