Re: Dispatch with @delay firing multiple times
Posted by
Dan Kereliuk on
URL: https://discuss.orbeon.com/Dispatch-with-delay-firing-multiple-times-tp3649476p3649768.html
test-case.zipAttached is a test case I just wrote up. You should be able to just extract it into the /apps/ folder and then navigate to that page under Orbeon. Instructions are included in the code, but it should be pretty straight-forward. Let me know if you have any trouble with it.
I've noticed that this problem seems to occur when interacting heavily with xforms controls on the page while the timed events are firing. Therefore I setup a simple page that displays the current time every 10 seconds by using the delayed dispatch, and included a xf:trigger that can be clicked rapidly to bring out the bug. Keep clicking that button non-stop and you should eventually start to notice the same time appearing multiple times per each 10-second interval.