You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/10/10 11:32:31 UTC

[jira] Resolved: (SLING-1149) JcrPropertyMap doesn't allow "./property" style access any more

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

Carsten Ziegeler resolved SLING-1149.
-------------------------------------

    Resolution: Fixed

While I really thing that keys should not start with "./" to get values from a property map, I can follow the roundtripping argument (and this now shows that doing the ./ for the post servlet might not be the best idea, but that's another discussion).
As this worked before, I added support for "./" + propertyPath again in revision: 823834

> JcrPropertyMap doesn't allow "./property" style access any more
> ---------------------------------------------------------------
>
>                 Key: SLING-1149
>                 URL: https://issues.apache.org/jira/browse/SLING-1149
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.6
>            Reporter: Alexander Klimetschek
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.8
>
>
> With the changes of SLING-1077 (also SLING-1103 and the partial "reverting" of SLING-1112) it is no longer possible to access properties via "./property". This works with the JCR API (as any relative path) and is sometimes necessary to have full-roundtrippable code together with the Sling POST servlet (that allows a "./" prefix on all properties to automatically ignore any normal property).

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