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

Liferay.js gives a warning message during publication about component is being registered twice

    Details

    • Fix Priority:
      4

      Description

      To reproduce:
      1. enable local staging for a site
      2. do a custom publication

      Actual result:
      A warning is thrown to browser console by liferay.js

      Component with id "_com_liferay_staging_processes_web_portlet_StagingProcessesPortlet_publishLayoutProcesses" 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.

      Tested on 7.1.x 4deef84 and master c064c75

        Attachments

          Activity

            People

            • Assignee:
              jeremy.chen Jeremy Chen
              Reporter:
              maria.kispal Mária Kispál
              Participants of an Issue:
              Recent user:
              Jeremy Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                15 weeks, 4 days ago

                Packages

                Version Package
                7.1.X
                Master