Posted: 29 May 2017 4:38 EDT Last activity: 1 Aug 2017 11:33 EDT
Reports not updating while switching application
We are facing an issue with the reports listed on the reports tab in the portal. If a users logs into an application and clicks on the report tab, the reports available for that application are getting listed correctly. Now if the user, switches application and clicks on the report tab of that application portal, the report list of earlier application only gets displayed there. The report list is populated using the datapage D_pzRBCategories. This datapage does not seems to be flushed while switching application so the same old list reflects everywhere, until the user logout and login again. Is there any solution to fix this?
***Moderator Edit: Vidyaranjan | Updated SR details***
It is just to do a quick check at your end. The issue is fixed in later releases. It is recommended that you upgrade to the latest version. However, if you require a fix in 7.1.5 specifically to meet your business requirement and it is not possible to upgrade, you may please raise an SR with all the details.
On reviewing the SR, we see that the issue is resolved. The cause of the issues was found that the source for the report list was "D_pzRBShorcuts" which was requestor scoped. Switching apps changes the thread, but not the requestor scope.
The resolution was to change the data page "D_pzRBShorcuts" from requestor scoped to thread scoped. Then, every time an application switch is done, the data is flushed and is loaded again. Apply HFix-35595 to fix the issue in Pega 7.1.5. However, the same issue is fixed in the later releases from Pega 7.2.