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

App launcher does not reflect order of groups when new groups are added

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.0
    • None
    • applauncher
    • None

    Description

      The launcher keeps an internal list of the order, but it doesnt clear it when the layout changes. If you add a group web this is what happens:

      • at the start the list is: [edit, manage]
      • then web comes in and it reloads, the list is then: [edit, manage, edit, web, manage]
      • then if it reloads again its [edit, manage, edit, web, manage, edit, web, manage]

      The fix is to add

      getState().groupsOrder.clear();
      

      in info.magnolia.ui.vaadin.applauncher.AppLauncher#clear

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                tmattsson Tobias Mattsson
                tmattsson Tobias Mattsson
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD