[MGNLUI-6392] Location parameter preserved among subapps in a multitab app Created: 06/Nov/20  Updated: 06/Sep/21

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.3
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Jonathan Ayala Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive MGNLUI-6392.zip     PNG File Screenshot 2020-11-06 at 17.29.16.png     PNG File Screenshot 2020-11-06 at 17.29.30.png     PNG File Screenshot 2020-11-06 at 17.33.06.png     PNG File Screenshot 2020-11-06 at 17.33.15.png    
Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

When declaring a app with multiple subapps shown in tabs, if one node is selected in each of them, it is preserved as a parameter in the location when switching to another subapp:

Example of a working app: Security
Open security app for example in tab groups and select publishers. Url will be http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:security:groups;/publishers:treeview:

Switch to roles tab, then URL changes to http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:security:roles;/:treeview: There's no parameter publishers anymore unless you switched back to groups tab.

Now, with a custom content app (navigation-app) written in 6 UI syntax:
I select test node in the first of the content apps. URL is http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:navigation-app:linkSiteBrowser;/test::

When I switch to the second sub app tab, /test parameter remains, which is not desirable. Now URL is: http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:navigation-app:linkMobileBrowser;/test::

After thorough debugging and comparison of both apps during location changing event, there is no noticeably difference in behaviour.

You can find a light module attached, which would help to reproduce the issue.


Generated at Mon Feb 12 09:35:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.