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

Retrieving property value via Value class returns unescaped values

    XMLWordPrintable

Details

    Description

      node.getProperty(name).getString();

      will return different values for wrapped nodes/properties than

      node.getProperty(name).getValue().getString();

      because getValue() returns original unwrapped value.

      Wrapping frameworks needs to make sure unwrapped values can't be returned w/o unwrapping first, probably by extending implementation and adding ValueWrapper class to the framework.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                adrien_be Adrien Berthou
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD