Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2424

Cannot add mixin to a locked node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.0.Final
    • 4.1.0.Final
    • None
    • None

    Description

      Locking a node and trying to add a new mixin type while the node is locked results in a ConstraintViolationException.

      There are a lock check in the addMixin(String mixinName) method which consider the lockowner and a lock check in the canAddMixin(String mixinName) method which only looks if the node is locked or not and returns false.

      The lock check in the canAddMixin methods should also consider the lockowner.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            adamsmierzchalski Adam Smierzchalski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: