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

dead locking related code in NodeDelegate.updateMixins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.20.0, 1.10.7, 1.8.22
    • jcr
    • None

    Description

                  // 3. deal with locked nodes
                  boolean wasLockable = isNodeType(MIX_LOCKABLE);
                  boolean isLockable = isNodeType(MIX_LOCKABLE);
                  if (wasLockable && !isLockable && holdsLock(false)) {
                      // TODO: This should probably be done in a commit hook
                      unlock();
                      sessionDelegate.refresh(true);
                  }
      

      AFAICT, this code block will never be executed. Clean up, angela?

      Attachments

        1. OAK-8722.diff
          1 kB
          Julian Reschke

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: