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

Tag 'asset-categories-selector' can only be used a single time within a JSP due to the IDs clashing

    Details

      Description

      If a JSP includes liferay-asset:asset-categories-selector twice the second instance of the selector is unusable and the following warning appears in the browser console:

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

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            jonathan.mccann Jonathan McCann
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Jonathan McCann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 45 weeks, 2 days ago

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.1 CE GA2
                7.2.X
                7.3.10 DXP GA1
                Master