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

Returning to root selection breaks Resource Files app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.4.6
    • 5.4.5
    • None
    • None
    • Saigon 39
    • 5

    Description

      1. Open Resource Files app
      2. Select 1st level resource (file or dir)
      3. Hit the keyboard left arrow to return to default (root) selection
      4. Click any resource

      Pulse says:

      Error: Invocation of method itemClick in info.magnolia.ui.workbench.list.ListViewImpl$3 failed. caused by NullPointerException

      Logs say:

      2016-03-04 13:40:06,805 WARN  info.magnolia.event.SimpleEventBus                : Exception caught when dispatching a class info.magnolia.ui.workbench.event.SelectionChangedEvent event with class info.magnolia.ui.workbench.WorkbenchStatusBarPresenter$1 eventHandler.
      java.lang.NullPointerException
      	at info.magnolia.ui.workbench.WorkbenchStatusBarPresenter.setSelectedItems(WorkbenchStatusBarPresenter.java:103)
      	at info.magnolia.ui.workbench.WorkbenchStatusBarPresenter$1.onSelectionChanged(WorkbenchStatusBarPresenter.java:80)
      	at info.magnolia.ui.workbench.event.SelectionChangedEvent.dispatch(SelectionChangedEvent.java:75)
      	at info.magnolia.ui.workbench.event.SelectionChangedEvent.dispatch(SelectionChangedEvent.java:45)
      	at info.magnolia.event.SimpleEventBus.fireEvent(SimpleEventBus.java:78)
      	at info.magnolia.ui.workbench.AbstractContentPresenterBase.onItemSelection(AbstractContentPresenterBase.java:144)
      	at info.magnolia.ui.workbench.list.ListViewImpl$2.valueChange(ListViewImpl.java:131)
      	...
      	at com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:1137)
      	...
              at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:678)
      	at com.vaadin.ui.TreeTable.focusParent(TreeTable.java:462)
      	at com.vaadin.ui.TreeTable.changeVariables(TreeTable.java:441)
      	at info.magnolia.ui.vaadin.grid.MagnoliaTreeTable.changeVariables(MagnoliaTreeTable.java:86)
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mgeljic Mikaël Geljić
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - 5d Original Estimate - 5d
                    5d
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 6d
                    6d