> On 27.01.2010 10:32, Vidar Ramdal wrote: >> The sling:alias property is defined as both a single-value and a >> multi-value String property [1], which, in my imagination, is a hint >> that you should be able to set multiple aliases for a resource. >> >> This does not seem to work, and the code of the JcrResourceResolver >> seems to assume only single values [2]. >> >> So, is this a bug, or can a resource only have a single alias?
On Wed, Jan 27, 2010 at 10:41 AM, Felix Meschberger <[email protected]> wrote: > yes the intent is to support multiple aliases - at least for resolution. > But this is not implemented like this (yet) ... OK => https://issues.apache.org/jira/browse/SLING-1332 >> >> [1] >> http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/resources/SLING-INF/nodetypes/mapping.cnd?view=markup#l32 >> [2] >> http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java?view=markup#l695 >> > -- Vidar S. Ramdal <[email protected]> - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 / +47 21 531941, ext 2070
