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

javax.jcr.version.VersionException when updating document

    Details

      Description

      This is happening with old documents that were created in environments with:

      • JCR as store impl.
      • Fixpacks newer to de-71 (7.0) or dxp-7 (7.1) installed.

      Steps to reproduce (7.0), it's the same for 7.1:

      1. Configure JCR a store for D&M.
      2. Start the server.
      3. Add a basic document, upload a pdf.
      4. Try to edit the basic document added previously: select a new pdf and publish.

      Expected result: document is edited without problems.

      Current result: the following exception occurs (tested with de-90):

      com.liferay.portal.kernel.exception.SystemException: javax.jcr.version.VersionException: No version with label 'PWC' exists in this version history.
       at com.liferay.portal.store.jcr.JCRStore.deleteFile(JCRStore.java:442)
       at com.liferay.portlet.documentlibrary.store.DLStoreImpl.deleteFile(DLStoreImpl.java:228)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              cristina.rodriguez Cristina Rodriguez
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Engineering Assignee:
              Cristina Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                40 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP92
                  7.0.10.14 DXP SP14
                  7.0.X
                  7.1.10 DXP FP18
                  7.1.10.5 SP5