Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Incorrect documents being displayed

SA-369

Summary



The user observes that occasionally attachements for the wrong work object are opened.

Error Messages



Not Applicable 

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.

Root Cause



T
he 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.

Resolution



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.
 

Published March 10, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us