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 "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/09/25 10:39:00 UTC

[jira] [Created] (OAK-9956) javax.jcr.Session.addNode(...) throws javax.jcr.PathNotFoundException for any unmapped namespaces in expanded path notation

Konrad Windszus created OAK-9956:
------------------------------------

             Summary: javax.jcr.Session.addNode(...) throws javax.jcr.PathNotFoundException for any unmapped namespaces in expanded path notation
                 Key: OAK-9956
                 URL: https://issues.apache.org/jira/browse/OAK-9956
             Project: Jackrabbit Oak
          Issue Type: Bug
    Affects Versions: 1.44.0
            Reporter: Konrad Windszus


In case {{addNode(...)}} is called with a path in [expanded form|https://developer.adobe.com/experience-manager/reference-materials/spec/jcr/2.0/3_Repository_Model.html#3.2.5.1%20Expanded%20Form] containing a namespace URI which is not mapped a {{javax.jcr.PathNotFoundException}} is thrown. This is unexpected as the JCR 2.0 spec allows unmapped namespaces according to https://developer.adobe.com/experience-manager/reference-materials/spec/jcr/2.0/3_Repository_Model.html#3.5.2%20Session-Local%20Mappings



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