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

Try to encode map keys for value map implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.4
    • JCR Resource 2.0.6
    • JCR
    • None

    Description

      The current value map implementations (JcrPropertyMap and JrModifiablePropertyMap) try to directly use the provided map key as a property name. If the name contains illegal characters (for a JCR) then setting/getting these properties fails.
      Therefore an encoding should be used to avoid these cases.
      We'll use the ISO9075 encoding as a start. Adding this encoding should be compatible to the current implementation as it just adds new use cases.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: