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

BasePortletIdUpgradeProcess doesn't upgrade portlet names in content pages, only widget ones

    Details

      Description

      As the title says, if we write a BasePortletIdUpgradeProcess it does change portlet names in widget pages (field typesettingsproperty of layout table), but doesn't change it in content pages.

      This causes the renamed portlet to disappear from all content pages.

      This can be reproduced following these steps:

      1. Build and start the portal before commit https://github.com/izaera/liferay-portal/commit/39c196caa17f7db72e9057bda5c7eca1caf5a869 
      2. Configure a Remote App in Custom Apps > Remote Apps:
      3. Use "Remote App Test" as name and "http://remote-app-test.wincent.com/" as URL
      4. Edit the home page content and add the "Remote App Test" (in "Sample" category) to the page
      5. Publish the page
      6. Stop the portal
      7. Build and start the portal after the aforementioned commit
      8. Visit the home page and see how the "Remote App Test" has disappeared. Edit the page and see how it complains because the portlet is missing.

        Attachments

          Activity

            People

            Assignee:
            team-upgrades Product Team Upgrades
            Reporter:
            ivan.zaera Ivan Zaera
            Participants of an Issue:
            Recent user:
            Oziel Souza
            Engineering Assignee:
            Ruben Pulido
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 weeks ago

                Packages

                Version Package
                Master