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

RenderingFilter#getNodedataAsStream unnecessarily relies on Exceptions for execution flow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • 5.0
    • 5.0
    • rendering
    • None

    Description

      In getNodedataAsStream (line 257) we try to read the property JcrConstants.JCR_DATA even if we know it's not around (line 250). The resulting PathNotFoundException could easily be avoided.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                dlipp Daniel Lipp
                dlipp Daniel Lipp
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD