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

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

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD