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

Orphaned data occurs when relating documents to web content articles

    Details

      Description

      Description
      Orphaned data occurs when relating documents to web content articles.

      Steps to Reproduce

      1. Start master.
      2. Upload a document then create a web content article.
      3. Go to Web Content > Edit the article > Related Assets > Select > Click the document > Publish
      4. Go to documents and media > Checkout the document and delete it without checking it in.
      5. Check the AssetEntry, AssetLink and DLFileEntry table.

      Additionally, you can create more orphaned data simply by checking in, and out a document. Creating an orphaned assetEntry with every checkout/check in.

      Reproduced:
      Master - 36e3f54ab22950615de6a0651b88464360b41c6c
      Branch 61x - 983b463d8a1546a7822f77476030574f24f33743

        Attachments

        1. fixed_AssetEntry.png
          fixed_AssetEntry.png
          13 kB
        2. fixed_AssetLink.png
          fixed_AssetLink.png
          6 kB
        3. reproduced_AssetEntry.png
          reproduced_AssetEntry.png
          18 kB
        4. reproduced_AssetLink.png
          reproduced_AssetLink.png
          11 kB

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            steven.smith Steven Smith (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 8 weeks ago

                Packages

                Version Package
                7.0.0 Alpha 1