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

Throw IAE in DelegateNodeWrapper.setWrappedNode() when node is already wrapped with this class - port to master

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.0
    • None
    • None
    • None

    Description

      We don't want double wrapped nodes. For example double escaping with HtmlEscapingNodeWrapper can cause problems in FTL templates.
      Throw IllegalArgumentException in DelegateNodeWrapper.setWrappedNode() when node is already wrapped with this class.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                had Jan Haderka
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD