Uploaded image for project: 'Celum DAM Connector '
  1. Celum DAM Connector
  2. CELUM-56

getWidth throws NullPointerException when Celum can't be reached or the celum id is invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Use 1.0.5-beta2 
      2. Select an Image from Celum
      3. Change the celum connectionString or delete the picture in Celum
      4. Wait until the `CelumConstants.CACHE_NAME_ASSET` Cache is invalid
      5. Call the celumAsset.getMappedPropertyValue(WIDTH) or use the celum-dam-connector:chooser

      .. Logs, screenshots, gifs...

      Expected results

      The width should be saved in JCR and the saved width should be returned or at least an empty String but definitely no Nullpointer Exception should be thrown. 

      Actual results

      A Nullpointer Exception is thrown and dialogs which use the Celum dam connector chooser can't be opened

      Workaround

      In Java we can catch the NPE but I have no idea for a workaround for the celum dam connector... 

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rfalvo Raphael Falvo
                jheard Jonathan Heard
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: