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

locking a node twice yields the same lock token

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • jackrabbit-core, locks
    • None

    Description

      Due to the way jackrabbit assigns lock tokens, the same lock token is generated every time a node is locked.

      This seems to contradict a JCR requirement:

      "A lock token is a string that uniquely identifies a particular lock and acts as a key granting lock ownership to any session that hold the token." <http://www.day.com/specs/jcr/2.0/17_Locking.html#17.5%20Lock%20Token>

      ...in that two subsequent locks on the same node get the same token.

      (This may be harmless but we should consider fixing this for compliance reasons)

      Attachments

        1. JCR-3208.diff
          13 kB
          Julian Reschke
        2. JCR-3208.diff
          2 kB
          Julian Reschke

        Activity

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: