Uploaded image for project: 'Explorer'
  1. Explorer
  2. EXPLORER-194

Check the lock on the resource before editing, moving or deleting

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.4
    • None
    • None
    • None

        [EXPLORER-194] Check the lock on the resource before editing, moving or deleting

        Laurence Aumeunier made changes -
        Status Original: Resolved [ 5 ] New: Closed [ 6 ]
        Laurence Aumeunier made changes -
        Resolution New: Fixed [ 1 ]
        Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
        Laurence Aumeunier made changes -
        Assignee New: Laurence Aumeunier [ laurence ]
        Cédric Damioli made changes -
        Resolution Original: Fixed [ 1 ]
        Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

        With your change, one cannot add attachments to pages anymore !

        The cause is that a Page is not a LockableAmetysObject, nor it can be locked, so that you can't call LockManager.getLock for it

        By the way you should check if the object is instanceof LockAwareAmetysObject instead of LockableAmetysObject

        Cédric Damioli added a comment - With your change, one cannot add attachments to pages anymore ! The cause is that a Page is not a LockableAmetysObject, nor it can be locked, so that you can't call LockManager.getLock for it By the way you should check if the object is instanceof LockAwareAmetysObject instead of LockableAmetysObject
        Laurence Aumeunier made changes -
        Resolution New: Fixed [ 1 ]
        Status Original: Open [ 1 ] New: Resolved [ 5 ]
        Laurence Aumeunier made changes -
        Link New: This issue blocks CMS-3189 [ CMS-3189 ]
        Laurence Aumeunier created issue -

          laurence Laurence Aumeunier
          laurence Laurence Aumeunier
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Created:
            Updated:
            Resolved: