Incorrect documents being displayed
The user observes that occasionally attachements for the wrong work object are opened.
Steps to Reproduce
1. Open a work object in a tab, containing multiple embedded pages.
2. Close the tab.
3. Open another work object using the same tab.
4. Observe that the new work object, has some embedded pages from the prior work object.
The application used multiple tabs.
The application had an embedded pageList on pyWorkPage. The developer determined that the clipboard for the embedded pageList had stale data from a previously closed work object tab.
The thread never got deleted when the tab was closed, and did not clean up the embedded pageList.
The following local change was made:
A new activity PreClose was added to the work object class. Activity PreClose is a standard extension point that is empty OOTB. In the new PreClose activity the embedded pages used for the attachments were removed with a Page-Remove step.
0% found this useful