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

NullPointerException in AbstractContentPresenterBase.onItemSelection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 5.4.4
    • tree/list, workbench
    • None

      Line 134 in AbstractContentPresenterBase.java includes this statement:

      if (isMultipleSelection && rootItemId.equals(id))

      In the case that a custom content connector is provided and does not provide a default item, when multiple items are selected (such as in a TreeView in a browser SubApp), this code generates a NullPointerException, as rootItemId will always be null in that case. A check if rootItemId is not null should be added here.

        Acceptance criteria

              Unassigned Unassigned
              cylevendawson Cyle Ven Dawson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD