| Summary: | Unauthorized access to Site Editor raises an unexpected JS error alert | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Miroslav Cupák <mcupak> | ||||
| Component: | unspecified | Assignee: | Matt Wringe <mwringe> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.2.0.ER01 | CC: | epp-bugs, mwringe, tkyjovsk | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 5.2.0.ER06 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-1191 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: |
EPP 5.2.0.ER01
|
|||||
| Last Closed: | 2011-10-26 15:49:21 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Miroslav Cupák
2011-09-19 12:30:16 UTC
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 |