Julian Reschke created SLING-7034:
-------------------------------------
Summary: JcrValueMap does not handle expanded form of property
names
Key: SLING-7034
URL: https://issues.apache.org/jira/browse/SLING-7034
Project: Sling
Issue Type: Bug
Reporter: Julian Reschke
Calling {{JcrValueMap.get(...)}} with a property name in expanded form, such as
{noformat}
{https://ns.example.org/foo/}bar
{noformat}
fails with
{noformat}
Caused by: java.lang.IllegalArgumentException: javax.jcr.RepositoryException:
Invalid name or path: _x007b_https://ns.example.org/foo/_x007d_bar
at
org.apache.sling.jcr.resource.internal.JcrValueMap.read(JcrValueMap.java:292)
at
org.apache.sling.jcr.resource.internal.JcrValueMap.get(JcrValueMap.java:101)
at
org.apache.sling.jcr.resource.internal.JcrValueMap.get(JcrValueMap.java:123)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)