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

PropertyUtil.getString should not throw NPE when node is null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 4.5.11, 5.0.3, 5.1
    • None
    • None
    • None

    Description

      info.magnolia.jcr.util.PropertyUtil.getString(Node, String) and info.magnolia.jcr.util.PropertyUtil.getString(Node, String, String) should not throw NPE when node is null instead of it they should return default value.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                mdivilek Milan Divilek
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD