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

JS components are being registered twice with the SPA enabled and it leads to unexpected behaviour

    Details

      Description

      JS components are being registered twice with the SPA enabled and it leads to unexpected behavior.

      Steps to reproduce:
      1) Go to Content -> Web Content -> Structures
      2) Create a structure with the Geolocation field, create an empty template for this structure
      3) Create a Web Content based on the structure from (2)
      4) Go to Site, add Asset Publisher portlet to a page and configure it to show only (2) structure assets(source tab) with the Map ADT(display settings tab)
      5) Go to any administration app(p.e. Pages) and back to the site

      Expected result: Asset Publisher work, Assets on the map are clickable and on click show the details window.

      Actual result: Assets are not clickable since map component is being registered twice and componentReady doesn't execute the second time.

      Only happens with the SPA enabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                pavel.savinov Pavel Savinov
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master