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 12:28:00 UTC

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

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

Marcel Reutegger updated OAK-8457:
----------------------------------
    Affects Version/s: 1.14.0

> 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
>    Affects Versions: 1.14.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>
> 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)