Hide Forgot
Steps to Reproduce: # Navigate to portal home page, sign in as root. # Let the session expire (or e.g. sign out in another tab in your browser). # Go to _Site Editor_ > _Add New Page_ (or any other item). JS alert appears. project_key: JBEPP Unauthorized use of Site Editor, e.g. clicking the _Add New Page_ link form the menu after session expiration, raises an unexpected JavaScript alert saying something like "_The target blockId to update is not found : _5371970_". It's only after you click _OK_ that the expected EPP info message saying you have no right to perform that particular action appears.
Screenshot attached.
Attachment: Added: blockid.png
Link: Added: This issue is related to JBQA-5399
Link: Added: This issue depends GTNPORTAL-2230
Ok, so there are a couple of issues here - when clicking on the link it gets the div id for the popup based on the unauthenticated user, so its not the same as the popup div id for the current document (since the current document is based on the now stale authenticated user). - the ajax request tries to set the popup using the wrong div, which is what causes the BlockNotFound error message to popup - an infinite loop occurs and the page finally gets refresh due to a time out - on the new refreshed page, its the unauthenticated user, so the div id is now valid and error message about not having permission to edit the page gets displayed This situation is not limited to just the session expiration situation, it can also occur if a component on the page gets modified. Solution applied to GateIn trunk to fix GTNPORTAL-2230 basically causes an alert to be displayed about the component not existing and the ajax request failing. It recommends refreshing the browser, but does not automatically perform this action.
Release Notes Docs Status: Added: Not Required