Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8457

Constructor allows creating invalid path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.14.0
    • 1.16.0
    • documentmk
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: