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

Orphaned AssetEntry data is being created when relating assets

    Details

    • Branch Version/s:
      6.2.x, 6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      12

      Description

      Steps to Reproduce

      1. Add 2 documents in the documents and media portlet in the control panel
      2. Check these tables (there should be 2 entries for each table): AssetEntry, DLFileEntry, DLFileVersion.
      3. Edit the title of the document that was just uploaded to the document library and publish. Notice that the DLFileVersion table contains the new entry.
      4. Go back to the document and add a related asset (select the other document) and publish. Check the AssetEntry table. You will now see a new row with a different classPK (the class uuid will be the same as another entry in the table).

      If you check this classPK against the DLFileEntry table or the DLFileVersion table, you will not find any references.

      Expected results: a new asset entry is not created
      Actual results: a new asset entry is created, but doesn't reference anything

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 35 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.4 CE GA5
                  6.2.X EE