Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-24095

Documents and Media portlet breaks after document unlock

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE RC1, 6.2.0 CE M2
    • Component/s: DM
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. 6.1.x Git ID: 55dbe46f7bb96f60055f0f8a65687983848822a1.
      Tomcat 7.0 + MySQL 5. 6.2.x Git ID: 9e18a3f10eb24317ddddcaf4efe035f4c3fcbc02.

      Description

      When a document lock expires, the Documents and Media portlet will no longer be able to display the document page and the lock will not disappear. The file will remain inaccessible, but can be fixed by clicking the drop down file menu and manually expiring the lock.

      1.) Set the following property in portal-ext.properties:
      lock.expiration.time.com.liferay.portlet.documentlibrary.model.DLFileEntry=3000
      2.) Start Liferay
      3.) Upload a document to Documents and Media
      4.) Click the document
      5.) Click Checkout
      6.) Wait at least 3 seconds
      7.) Reload the page

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 40 weeks ago

                Packages

                Version Package
                6.1.0 CE RC1
                --Sprint 11/12
                6.2.0 CE M2