Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6392

Location parameter preserved among subapps in a multitab app

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.3
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jayala Jonathan Ayala
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD