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

RenderingFilter#getNodedataAsStream unnecessarily relies on Exceptions for execution flow

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD