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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2019/07/03 11:56:00 UTC

[jira] [Created] (OAK-8457) Constructor allows creating invalid path

Marcel Reutegger created OAK-8457:
-------------------------------------

             Summary: Constructor allows creating invalid path
                 Key: OAK-8457
                 URL: https://issues.apache.org/jira/browse/OAK-8457
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: documentmk
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger


The constructor {{Path(String)}} does not check whether the passed String is in fact a node or rather a path (containing the slash character). The constructor should throw an exception when the String represents a path with more than one element.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)