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

PropertyImpl#getParent violates JCR API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9
    • jcr
    • None

    Description

      Item#getParent mandates that an AccessDeniedException is thrown if the
      parent of an item is not accessible.

      however, the implementation in this case throws an InvalidItemStateException("Property is stale") and PropertyDelegate#getParent marks the return value as @Nonnull.

      most probably that needs some additional fixed down the line and isn't as
      trivial to fix as oak-213

      Attachments

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: