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

Obsolete portletPreferences remain in the database for portlets removed from page template

    Details

      Description

      steps to reproduce:

      1. Create a page template
      2. Create a site template with a page based off the page template
      3. Create an organization with its public site pages based off the site template and inherit changes from the site template enabled
      4. Go to the settings of the new org page > switch off inherit changes from the page template
      5. Add a web content display portlet to the org page and get its portlet id
      6. Go to the settings of the org page > switch on inherit changes from the page template
      7. Go to the page template and make a change to it
      8. Reload the org page. Changes should be applied and web content display should be gone
      9. Search for the portlet id in the portletpreferences table

      expected behavior: no portletPreferences will be found
      actual behavior: the obsolete portletPreferences are still in the DB

        Attachments

        1. fixed.png
          fixed.png
          145 kB
        2. reproduced.png
          reproduced.png
          334 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao
              Reporter:
              andrew.betts Andrew Betts
              Participants of an Issue:
              Recent user:
              Nicole Mak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 CE GA1