Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2502

Incorrect escaping of property names in JcrModifiablePropertyMap on save

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.1.0
    • JCR Resource 2.2.0
    • JCR
    • None

    Description

      This follows SLING-2425 where there was a change in the way JCR properties are escaped before being persited.
      The regression happens for properties that have ":" in the name.

      For example: jcr:title after the #save() call will turn into jcr%3Atitle so the node will end up with a brand new property, instead of having the old jcr:title updated.

      Attachments

        1. org.apache.sling.jcr.resource.patch
          8 kB
          Carsten Ziegeler
        2. SLING-2502.patch
          3 kB
          Alex Deparvu
        3. SLING-2502-v2.patch
          12 kB
          Alex Deparvu
        4. SLING-2502-v3.patch
          12 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: