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

Guest user cannot see metadata information in document detail

    Details

      Description

      Steps to reproduce:

      1. Add the Document and Media portlet to a page in the default guest site (normally Liferay.com)
      2. Add a new Metadata Set with any field.
      3. Add a new Document Type. Do not add any field in the document type, but only select the above create Metadata Set in Additional Metadata fields
      4. Add a new Document based in the Document Type created in the previous step. Fill in the metadata info.
      5. Make sure that both the Document Type and the Document have view permissions for the Guest role, but not the Metadata Set (that's the default behavior)
      6. Sign out. Click in the document to view its detail

      Expected behavior:
      The metadata info is displayed.

      Current behavior:
      The metadata info is not displayed and the console shows an error log.

      11:23:50,959 ERROR [http-bio-8080-exec-46][IncludeTag:129] Current URL... generates exception: com.liferay.portal.security.auth.PrincipalException
      com.liferay.portal.security.auth.PrincipalException at com.liferay.portlet.dynamicdatamapping.service.permission.DDMStructurePermission.check(DDMStructurePermission.java:60)
      

      This issue affects to other use cases as the one described in LPS-32538.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 32 weeks, 4 days ago

                Packages

                Version Package
                6.2.0 CE RC6