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

Concurrent creation of users chokes on intermediate paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20
    • core
    • None

    Description

      The tests in org.apache.jackrabbit.oak.security.authentication.ldap.LdapLoginTestBase#testConcurrentLogin fail because of a conflict when creating the intermediate nodes, although they are identical for all concurrent updates.

      strange enough, the error is completely different:

      "Cannot create user/group: Intermediate folders must be of type
      rep:AuthorizableFolder."

      this is reported on the "addExistingNode" parent, because the User validator traverses up the following tree:

      "/rep:security/rep:authorizables/rep:users/:conflict/addExistingNode/u/us/user-5"

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              tripod Tobias Bocanegra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: