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

Make error messages from o.a.j.o.namepath.JcrNameParser/JcrPathParser consistent and less misleading

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.62.0, 1.22.21
    • core-spi
    • None

    Description

      JcrPathParser delegates name parsing to JcrNameParser, which may lead to error messages not including the path (contrary to all other error messages from the JcrPathParser).

      JcrPathParser fails with a bogus error message in the case of an unexpected EOF (trying to insert EOF into the human readable error message).
      Also in the case of an empty local name in a prefixed JCR name, the error message depends on the following characters and is misleading.

      Attachments

        Issue Links

          Activity

            People

              baedke Manfred Baedke
              baedke Manfred Baedke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: