Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3049

NPEs in FileProperties in case of missing content/properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3
    • None
    • None
    • None

    Description

      If you try to use info.magnolia.cms.beans.runtime.FileProperties you may easily end up with a NPE, if the content does not exist or also if you are requesting the file size when not available.
      We should add a few checks.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD