Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3631

SessionTest#hasCapability: missing save call

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.1
    • Component/s: jackrabbit-jcr-tests
    • Labels:
      None

      Description

      the test for Session#hasCapability expects that an exception is raised immediately when adding a node in case Session#hasCapability returns false. however, the specification allows to postpone certain validations until the save call (e.g. permission evaluation).

      the test case should be fixed accordingly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                angela Angela Schreiber
                Reporter:
                angela Angela Schreiber
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: