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

DLFileVersion metadata persists after the version is deleted

    Details

      Description

      References to deleted versions of files remain in the database

      Steps to Reproduce

      1. Using a 6.1.20 bundle and a database (not Hypersonic), upload a document
      2. Edit the document
      3. Delete the previous version
      4. Check the following database tables:
        DLFileVersion
        DDMContent
        DLFileEntryMetadata
        DDMStorageLink
        DDMStructureLink 
        

      Expected Result: Previous version will be removed from each of the tables.
      Actual Result: Previous version is only removed from DLFileVersion

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                melody.wu Melody Wu
                Reporter:
                eric.chi Eric Chi
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 41 weeks ago

                  Packages

                  Version Package
                  6.2.X EE