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

Deleting portlets from page versions creates orphaned portlet preferences

Details

    Description

      Steps to reproduce

      1) create site and add a page
      2) enable local live staging with page versioning enabled
      3) add and remove a few portlets
      4) look in the layoutRevision table for the "head" revision of that page and find all the portlet preferences that have a matching plid for that layoutRevisionId

      expected: there should be no portletpreferences since there are no portlets on the page
      actual: there are orphaned portlet preferences (since they don't belong to that page revision)

      Attachments

        1. fix.png
          fix.png
          16 kB
        2. fix-update.png
          fix-update.png
          27 kB
        3. reproduce.png
          reproduce.png
          43 kB
        4. reproduce-update.png
          reproduce-update.png
          48 kB

        Issue Links

          Activity

            People

              lu.liu Lu Liu
              andrew.betts Andrew Betts (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 41 weeks, 5 days ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M5