Fixed
Details
Assignee
Roman KovaříkRoman KovaříkReporter
Šimon DemočkoŠimon DemočkoPriority
NeutralSupport Score
21Magnolia Release
6.2.15Labels
Fix versions
Affects versions
Story Points
2Sprint
None
Details
Details
Assignee
Roman Kovařík
Roman KovaříkReporter
Šimon Demočko
Šimon DemočkoPriority
Support Score
21
Magnolia Release
6.2.15
Labels
Fix versions
Affects versions
Story Points
2
Sprint
None
More fields
More fields
More fields
Created August 31, 2020 at 11:57 AM
Updated February 10, 2025 at 6:39 PM
Resolved December 13, 2021 at 8:07 AM
Cloned from MGNLCDEP-110 b/c this is relevant in any context where location change happens using the LocationController.
When a dialog contains a field that redirects to another location by firing a LocationChangedEvent when clicking on it (no action buttons involved), it is not closed after redirecting to the new location and, therefore, it is not visible and not user friendly as they have to close the dialog.
This can be reproduced in the dependencies tab from content dependencies module.
Steps to reproduce in demo:
Configure dependencies tab as explained in docs
Go to pages app,
travel/about
and open the editorClick on "edit page properties" and go to dependencies tab
Click on dependency /travel
Dialog is not closed and redirection occurs behind
When using Magnolia 5 UI with -m5 parameter, this doesn't happen, which seems closely related to the usage of
info.magnolia.ui.framework.app.DefaultAppView
in UI 5 instead ofinfo.magnolia.admincentral.AdmincentralAppView
used in UI 6, which in turn, means that Magnolia class method (info.magnolia.ui.vaadin.tabsheet.MagnoliaTabSheet.setActiveTab(MagnoliaTab)
) is called in 5 UI whereas Vaadin class method ((com.vaadin.ui.TabSheet.setSelected(Component)
) is called in 6 UI. There should be a way to close the dialog in the new UI.