[
https://issues.apache.org/jira/browse/SLING-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764356#action_12764356
]
Carsten Ziegeler commented on SLING-1149:
-----------------------------------------
@Felix: Yes I first had a throw NPE in the code but then realized that the
behaviour so far accepted null as the key - so for compatiblity I chose to not
throw
But personally I would rather throw :) So if noone disagrees I'll add the throw
NPE for a null key
> 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.