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

DDM Forms JS uses staging groupId on unstaged portlets

    Details

      Description

      Reproduction Steps:

      1. Create a new site.
      2. Create a structure with a link-to-page field, create a template for the structure with the default link-to-page field.
      3. Create two new pages (page1 and page2).
      4. Enable local staging, but disable staging for web content.
      5. On the Staging site create a new article using the new structure: add a title, in the link to page select page2 and publish.
      6. On page1 add a web content display and display the new article.

      Checkpoint: Verify the URL of the link-to-page, you will see that it points to the staging site.

            7. Make a publication.

      Result: On the live site you will see the same staging URL for the link-to-page.

       

      Root cause

      ddm_form.js uses the themeDisplay object to retrieve the groupId used for the page selection in link-to-page. It is doing so without any knowledge of the current portlet being staged or not, thus staged site form gets staged layouts to select from, and live site form gets live layouts.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              balazs.safrany-kovalik Balázs Sáfrány-Kovalik
              Participants of an Issue:
              Recent user:
              Istvan Dezsi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 45 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP72
                  7.0.10.11 DXP SP11
                  7.0.X
                  7.1.10 DXP FP7
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.1.X
                  Master