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

Collapsing metadata panels in detail view of file works only for the first panel

Details

    Description

      1. Start with a demo installation of liferay (tomcat bundle or started from bundles directory build with `ant all`)
      2. Run through the initial setup
      3. Go to "Admin area" -> "Content & Data" -> "Documents and Media"
      4. Create a new document type with at least one input element
      5. Upload a document with that document type and enter data for the field
      6. Open the document detail infos by clicking on the filename and the clicking on the icon
      7. Scroll down until you see the "Automatically extracted metadata"
      8. Try to toggle the collapsed state of the "Automatically extracted metadata" panel (see the focus highlight where the click happened and that the first panel is collapsed, not the second one)

      Instead of the "Automatically extracted metadata" panel, the "Demodocumenttype" panel collapses.

      Looking at the DOM structure the ID fields of the divs look wrong (see the duplicate div element with ID documentLibraryMetadataPanel_41778):

      Attachments

        Issue Links

          Activity

            People

              issac.wang Issac Wang
              matthias.blaesing Matthias Bläsing
              Enterprise Release HU Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18 weeks, 1 day ago

                Packages

                  Version Package
                  7.3.10 DXP U18
                  7.3.X
                  7.4.13 DXP U51
                  Master