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

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: WCM > Navigation
    • Labels:

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 weeks, 1 day ago

                  Packages

                  Version Package
                  Master