PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30717

Two instances of document library displays have wrong javascript behaviour with the collapsibles elements.

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 4 results 

      Description

      When there are two or more instances of the document and media display portlet in the same page, the collapsible elements of them don't work well. It seems that they have the same id's elements, and it breaks the usual behaviour of collapsing/expanding.

      Steps to reproduce:

      Create AFolder on root folder
      Create A1Folder on AFolder
      Create documentA A1d on AFolder

      Create BFolder on root folder
      Create B1Folder on BFolder
      Create documentB B1d on BFolder

      Create a new page called "displays" or another name
      Add a "document ands media display portlet" to the page
      Configure the viewer to see AFolder

      Add another "documents and media display portlet" to the same page
      Configure the second viewer to see BFolder

      Enter in AFolder and return back.

      At this point, the collapsables divs of "documents" and "folders" doesn't work.

        Activity

        Hide
        Michael Saechang added a comment -

        Committed on:
        Portal 6.2.x GIT ID: a5236d268debb7a19754f2a99e591a691156ef87.

        Show
        Michael Saechang added a comment - Committed on: Portal 6.2.x GIT ID: a5236d268debb7a19754f2a99e591a691156ef87.
        Hide
        Ginson Ren added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        At this point, the collapsables divs of "documents" and "folders" doesn't work.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 81df9718631632cbb741c6061755e6c3b0a14411.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e5e962b1ffca754715b4a9c7a4db2b83cab97869.

        At this point, the collapsables divs of "documents" and "folders" work well.

        Show
        Ginson Ren added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. At this point, the collapsables divs of "documents" and "folders" doesn't work. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 81df9718631632cbb741c6061755e6c3b0a14411. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e5e962b1ffca754715b4a9c7a4db2b83cab97869. At this point, the collapsables divs of "documents" and "folders" work well.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 40 weeks, 1 day ago

              Development

                Structure Helper Panel