Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-991

DAM chooser NPE for non JCR content item selection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.0.12
    • 3.0.9
    • None

      Steps to reproduce

      1.  Use the s3 connector for non JCR content as an example
      2.  From asset chooser, search/filter for an item then select it

      Expected results

      • Item selected

      Actual results

      • NPE error thrown and crash the editor, see comment below:

        If we try and use any of the filters (name, title) another error is thrown (Internal error) and we lose all work for the page we are working on.

        If we simply click through the directory tree and select an image that way, it doesn't seem to throw and error.

      Workaround

      • N/A

      Development notes

      • Caused by MGNLDAM-860 DAM chooser browser does not expand folder structure to show preselected value upon opening
      • The expanding mechanism need to be updated to adapt to non JCR content, error in this line where "/" as root item is very JCR specific path.

        Acceptance criteria

              jfranco Jorge Franco
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1h
                    1h