[ 
https://issues.apache.org/jira/browse/OAK-10523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17995739#comment-17995739
 ] 

Konrad Windszus commented on OAK-10523:
---------------------------------------

Example exception caused by this

{code}
...
Caused by: org.apache.jackrabbit.spi.commons.conversion.IllegalNameException: 
'[' not allowed in name (name: "jcr:propertyDefinition[2]", at position: 22)
at 
org.apache.jackrabbit.spi.commons.conversion.NameParser.complainAndThrow(NameParser.java:239)
 [org.apache.jackrabbit.jackrabbit-spi-commons:2.22.0]
at 
org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:103)
 [org.apache.jackrabbit.jackrabbit-spi-commons:2.22.0]
at 
org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver.getQName(ParsingNameResolver.java:64)
 [org.apache.jackrabbit.jackrabbit-spi-commons:2.22.0]
{code}

> Basic SNS support returns invalid node names
> --------------------------------------------
>
>                 Key: OAK-10523
>                 URL: https://issues.apache.org/jira/browse/OAK-10523
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Julian Reschke
>            Priority: Minor
>         Attachments: OAK-10523.diffs
>
>
> When encountering names using index notation in storage, oak-jcr treats the 
> index suffix as part of the name. This causes issues with other components 
> that assume that the result of {{Node.getName()}} is indeed a valid JCR name.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to