[ 
https://issues.apache.org/jira/browse/SLING-955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed SLING-955.
-----------------------------------

    Resolution: Fixed

Fixed in Rev. 771666 by using the ResourceResolver.findResources method to 
first find matching resources and the ValueMap adapter to then access the 
vanity path setup.

> Multi-value sling:vanityPath properties not properly handled
> ------------------------------------------------------------
>
>                 Key: SLING-955
>                 URL: https://issues.apache.org/jira/browse/SLING-955
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Resource
>    Affects Versions: JCR Resource 2.0.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: JCR Resource 2.0.4
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to