You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2022/09/26 08:30:00 UTC

[jira] [Resolved] (OAK-9584) Node.hasProperty("rep:authorizableId") only supports qualified names but not expanded names.

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

Julian Reschke resolved OAK-9584.
---------------------------------
    Resolution: Not A Bug

System works as specified. The problem is the illegal namespace name.

> Node.hasProperty("rep:authorizableId") only supports qualified names but not expanded names.
> --------------------------------------------------------------------------------------------
>
>                 Key: OAK-9584
>                 URL: https://issues.apache.org/jira/browse/OAK-9584
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.40.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> I have a JCR Node which returns
> {{true}} for 
> {code}
> node.hasProperty("rep:authorizableId")
> {code} but 
> {{false}} for 
> {code}
> node.hasProperty("{internal}authorizableId")
> {code}
> According to https://docs.adobe.com/content/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.2.6%20Use%20of%20Qualified%20and%20Expanded%20Names
> bq. When a JCR name is passed as an argument to a JCR method it may be in either expanded or qualified form. 
> this is a violation of the spec.



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