Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6769

[Lock] Tagging a content restart the content lock timer but editing a content does not.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 4.LATER
    • 4.0.0
    • None
    • None
    • 2 - Long term
    • 2 - Normal

      Usually, the code does

      if (content.isLocked())
      {
          content.lock();
      }
      

      So a content is not locked again, and its lock timer is not restarted.

      But when tagging a content, the lock timer does restart.
      For example, for an global unlock timer of 2h, if a locked content is edited 30min before the time it should be unlocked, it will still be unlocked in 30 minutes.
      But if it is tagged, the unlock timer will be reset to 2h.

      So the behaviour is inconsistent, but I do not know what is the expected behaviour (never reset the unlock timer, or always reset on modification)

          [CMS-6769] [Lock] Tagging a content restart the content lock timer but editing a content does not.

          There are no comments yet on this issue.

            Unassigned Unassigned
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: