System is not handling Data Pages properly
Developer has a PageList (P1) inside which there is a PageList(P2) property that refers to Data Page (list type). This is loaded at Thread level.
The scenario is that a Page is deleted from the PageList (P1) mentioned above. Due to this the reference to Data Page(inside P2) is lost
No error on screen, data on WorkObject (WO) is lost.
Steps to Reproduce
- Create a WO with three Pages in a pagelist.
- In next step, delete page 2 of the page list and complete details on Page 1 and Page 3 with one property referencing Data Page.
- Submit the WO, no error is thrown.
- Close and Open the WO on review. The reference to the Data Page on Page 3 is no longer available, causing errors.
A defect in Pegasystems’ code or rules:
This specific issue occurs when database storageversion 7 is used. Sometimes different pages can share directstreamV7 object and hence there is a chance of getting data lost.
As a fix added hard check to prevent data loss of page lists.