[ADMINCTR-408] Close action should work the same way as X-ing out Created: 13/Oct/22 Updated: 03/Jul/23 Resolved: 03/Jul/23 |
|
| Status: | Closed |
| Project: | Admincentral |
| Component/s: | None |
| Affects Version/s: | 6.2.31 |
| Fix Version/s: | 6.3.0, 6.2.32 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Adam Siska |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Nucleus_AuthX_Support | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
|||||||||||||||||||||||||||||||||||
| Issue Links: |
|
|||||||||||||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||||||||||||
| Template: |
|
|||||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||||||||||||||||||||||
| Release notes required: |
Yes
|
|||||||||||||||||||||||||||||||||||
| Date of First Response: | ||||||||||||||||||||||||||||||||||||
| Epic Link: | AuthorX Support | |||||||||||||||||||||||||||||||||||
| Sprint: | Nucleus 39 | |||||||||||||||||||||||||||||||||||
| Story Points: | 2 | |||||||||||||||||||||||||||||||||||
| Team: | ||||||||||||||||||||||||||||||||||||
| Work Started: | ||||||||||||||||||||||||||||||||||||
| Approved: |
Yes
|
|||||||||||||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Jaromir Sarf [ 08/Jun/23 ] |
|
Discovery:
app.getView().getActiveSubAppView() in https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/browse/magnolia-ui-framework/src/main/java/info/magnolia/ui/framework/app/AppInstanceControllerImpl.java#275. In every case(X button, close button) we will get different instanceId there, so we will focus a different subapp after closing the active one. As solution we could distinguish the default subapp from subApps map and set this one as ActiveSubAppView, or pass its instanceId to onFocus method.
|
| Comment by Jaromir Sarf [ 09/Jun/23 ] |
|
Next option: |
| Comment by Adam Siska [ 03/Jul/23 ] |
|
At the end we decided for solution which returns to browser subapp always (with any UI action). Also improvement ticket was filed to tackle future issues with closing: https://jira.magnolia-cms.com/browse/ADMINCTR-420 |