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

Cannot add portlet to the page with page versioning enabled.

Details

    Description

      Description

      When staging with page versioning is enabled, you cannot add a portlet to a page that is based on a page template that once had that portlet on it, even though it has been removed. This is for portlets that can only be added once to a page.

      Steps to reproduce

      1. Start a clean bundle of Liferay DXP 7.0
      2. Go to Publishing -> Staging and enable Local Live staging, with Page Versioning enabled for Public and Private Pages
      3. Go to Control Panel -> Sites -> Page Templates and create a page template and add a portlet that can only be added once to a page to the page template (e.g. the calendar portlet)
      4. Create a new page using the page template from step 3. Set "inherit changes" to "on" for this page
      5. Go back to the page template and remove the calendar portlet from the template
      6. Update the page configuration to set "inherit changes" to "off"
      7. Go back to the page and try to add the calendar portlet

      Results of Testing

      Expected Results: The calendar portlet can be added
      Actual Results: The calendar portlet cannot be added

      Errors/Logs

      None

      Branch

      Reproduced - 812988930b8c6fb4959576b3e0b036253192a5a4

      Attachments

        Issue Links

          Activity

            People

              il.kim Brian I. Kim
              il.kim Brian I. Kim
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 18 weeks, 1 day ago

                Packages

                  Version Package