| Project: | formsPlayer XForms Studio |
| Component: | Miscellaneous |
| Category: | support |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
| Attachment: | recurring.html (43.63 KB) |
We split out the recurring code from our application into a test page. Many of the problems we see in our application are reproduced in this smaller stand alone page. We didn't waste any time trying to make it pretty in the stand alone page.
Dates can be generated based on a periodic or weekly basis. Starting values are added to the test page for easier testing.
These are the problems that are sometimes seen. Reload the page to see different problems.
1. Sometimes IE crashes. The crash can occur some time after a user action.
2. Sometimes date text is blank. With debugging in (see commented out alerts), the text is never blank at the time of creation. One can also see the date flash for a split second, and then it disappears. Hitting "Generate Dates" over and over shows the flash sometimes.
3. Sometimes doing a number of Generate Dates, causes the form to hang. It never recovers and has to be killed. The hang doesn't appear to be related to any of the javascript loops (see alert checking for this). If another action, like scrolling IE or changing weekly/periodic occurs during the Generate Dates action, the hang is more likely to occur.
4. Sometimes changing between Periodic and Weekly doesn't update their parameters. On some page loads this problem will occur on every request. On some page loads it will work for a time and then stop working. On some pages loads it will always work.
5.Sometimes, the Remove trigger (xforms:delete on dates) leaves in empty tags. IE has crashed after this at least twice.
6.Sometimes a date disappears from the dates_list (empty ), when switching between Periodic and Weekly.
7.One time, everything under os_full disappeared (instance single-outage).
We added in a rebuild/refresh after the xforms:delete and this got rid of the following occasional problems, but using rebuild/refresh tends to make xforms crash more often. We use this only when we have to get consistent results. Should this be necessary here?
1.Sometimes IE hangs on a Remove (xforms:delete)
2.Sometimes the Remove triggers don't appear to do anything but changing Weekly/Periodic caused a refresh that makes the rows disappear (appears to be page load specific, either always refresh/remove or never refresh/remove).
Updates
This appears to be multiple issues:
See rebuild invoked by script that is invoked by rebuild or recalculate may cause unpredictable behaviour for an expansion of one of them (which is now fixed).
| Status: | new | » closed |
We upgraded to 1.5.6.1004 and all of the listed problems went away.

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