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

Multi-value sling:vanityPath properties not properly handled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.4
    • JCR Resource 2.0.4
    • JCR
    • None

    Description

      Due to a limitation in the JCR Query specification and implementation, the MapEntries.loadVanityPaths method does not currently resolve sling:vanityPath properties correctly if the properties happen to be multi-value properties. The workaround for this issue is to not use ResourceResolver.queryResources method to get the query result rows but to use the ResourceResolver.findResources method and to manually access the properties through the resources returned.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: