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

Component registered twice warning when navigating between pages in the page tree sidebar

    Details

      Description

      Steps to Reproduce:

      1. Ensure SPA is enabled
      2. Create a Site with at least two Public pages
      3. Click on Go to Site and then click on the Find a Page button in the header
      4. Swap between the two pages by clicking on the pages in the sidebar

      Expected Result:
      There are no warnings in the console

      Actual Result:

      Component with id "_com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet_pagesTree" is being registered twice. This can lead to unexpected behaviour in the "Liferay.component" and "Liferay.componentReady" APIs, as well as in the "*:registered" events.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              jesse.yeh Jesse Yeh
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 24 weeks, 5 days ago

                  Packages

                  Version Package
                  7.3.0 CE GA1
                  7.3.10 DXP GA1
                  Master