Details
-
Bug
-
Resolution: Won't Fix
-
Neutral
-
None
-
6.0
-
None
-
None
Description
Happens only on M5 mode (reachable e.g. via http://contexPath/.magnolia/admincentral-m5) and when clicking on save button, whereas closing the subapp via tab icon works fine.
Can be reproduced on any content app, e.g. contacts.
A quick debug session showed that at info.magnolia.ui.framework.app.AppInstanceControllerImpl#stopSubAppInstance the instanceId argument didn't match any subapp, hence subAppDetails.context throwing NPE
private void stopSubAppInstance(String instanceId) { SubAppDetails subAppDetails = subApps.get(instanceId); ... sendSubAppLifecycleEvent(subAppDetails.context, SubAppLifecycleEvent.Type.STOPPED);
The issue was revealed by info.magnolia.integrationtests.uitest.ItemSelectionUITest#verifyContactIsSelectedAfterCreation which has been temporarily ignored (oddly enough on Jenkins the test didn't fail consistently though). Once the issue is resolved, please re-enable the test.
Checklists
Acceptance criteria