[ https://issues.apache.org/jira/browse/SLING-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vidar S. Ramdal updated SLING-1332: ----------------------------------- Description: Currently, only a single sling:alias value for a resource is honoured, even though the sling:alias is defined as both a single-value and multi-value property [1]. To reproduce: 1. Create a node at /node 2. Set a multi-value sling:alias property on /node, with values "alias1" and "alias2" 3. Browse to http://localhost:8080/alias2 Expected result: - The resource at /node is returned Actual result: - A 404 not found. Still, browsing to /alias1 returns the /node resource. Mailing list discussion: http://n3.nabble.com/Multi-value-sling-alias-td140425.html#a140425 [1] http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd?view=markup#l32 was: Currently, only a single sling:alias value for a resource is honoured, even though the sling:alias is defined as both a single-value and multi-value property [1]. To reproduce: 1. Create a node at /node 2. Set a multi-value sling:alias property on /node, with values "alias1" and "alias2" 3. Browse to http://localhost:8080/alias2 Expected result: - The resource at /node is returned Actual result: - A 404 not found. Still, browsing to /alias1 returns the /node resource. [1] http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd?view=markup#l32 Added Nabble link > Support multi-value sling:alias resolution > ------------------------------------------ > > Key: SLING-1332 > URL: https://issues.apache.org/jira/browse/SLING-1332 > Project: Sling > Issue Type: Improvement > Components: JCR > Affects Versions: JCR Resource 2.0.6 > Reporter: Vidar S. Ramdal > Fix For: JCR Resource 2.0.8 > > > Currently, only a single sling:alias value for a resource is honoured, even > though the sling:alias is defined as both a single-value and multi-value > property [1]. > To reproduce: > 1. Create a node at /node > 2. Set a multi-value sling:alias property on /node, with values "alias1" and > "alias2" > 3. Browse to http://localhost:8080/alias2 > Expected result: > - The resource at /node is returned > Actual result: > - A 404 not found. Still, browsing to /alias1 returns the /node resource. > Mailing list discussion: > http://n3.nabble.com/Multi-value-sling-alias-td140425.html#a140425 > [1] > http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd?view=markup#l32 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.