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

Node.hasProperty("rep:authorizableId") only supports qualified names but not expanded names.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 1.40.0
    • None
    • jcr
    • None

    Description

      I have a JCR Node which returns
      true for

      node.hasProperty("rep:authorizableId")
      

      but
      false for

      node.hasProperty("{internal}authorizableId")
      

      According to https://docs.adobe.com/content/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.2.6%20Use%20of%20Qualified%20and%20Expanded%20Names

      When a JCR name is passed as an argument to a JCR method it may be in either expanded or qualified form.

      this is a violation of the spec.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: