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

Retrieving property value via Value class returns unescaped values

XMLWordPrintable

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD