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

Fragment instance inside "Collection Display" have the same ID

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.3.5 CE GA6
    • Fix Version/s: None
    • Labels:
      None

      Description

      Any fragment that makes use of the fragment's ID inside some JS code, does not work properly when placed inside "Collection Display" fragment. The reason is every instance (one per each element in the collection) is put on the page with the same id.

      You can reproduce this with OOTB fragments. Try to put "Banner Slider" inside "Collection display" with more than one item in the collection. Only the first slider works.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            azzazzel Milen Dyankov
            Participants of an Issue:
            Recent user:
            Evan Thibodeau
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              8 weeks, 5 days ago

                Packages

                Version Package