Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-7340

Document and Media Library document checkout never times out

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.1 EE GA1 (6.1.10)
    • Fix Version/s: 6.1 EE GA2 (6.1.20)
    • Component/s: DM
    • Labels:
      None
    • Fix Pack Status:
      Waiting for Decision

      Description

      Document and Media Library document checkout never times out. The file will remained locked until the user who locked the file unlocks it.

      The following properties were added to portal.properties:

      dl.file.entry.lock.policy=0
      This property sets what happens with a checked out file when the lock expires.
      Expected values are 0 for cancel checkout (default) and 1 for auto check-in.

      lock.listeners=com.liferay.portlet.documentlibrary.util.DLFileEntryLockListener
      This property adds a listener for a specific class by setting the property "lock.listeners" with a comma-delimited list of classes implementing com.liferay.portal.kernel.lock.LockListener.

      UPGRADE NOTE:
      Document and Media Library file locks were set by default to never expire with the following setting in portal.properties:

      lock.expiration.time.com.liferay.portlet.documentlibrary.model.DLFileEntry=0

      This has been changed. Now, the lock by default expires after 1 day.

      lock.expiration.time.com.liferay.portlet.documentlibrary.model.DLFileEntry=86400000

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonathan.mccann Jonathan McCann
                Reporter:
                hugo.huijser Hugo Huijser
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.1 EE GA2 (6.1.20)