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

Documents and Media Search Bar not displaying after upgrade due to missing permission for DLFileEntryType

    Details

      Description

      Steps to reproduce it:

      1. Startup Liferay 6.1
      2. Create an image in the Image Gallery
      3. Upgrade to 6.2
      4. Upgrade to master
      5. Startup the server
      6. Navigate to Site Administration > Content & Data > Documents and Media

      Expected Behavior: See that user can add documents and search for documents
      Actual Behavior: Add button and search bar is missing from the page, and the user sees the following error in the logs:

      2020-06-17 23:45:22.747 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=216526 generates exception: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=10132, name=com.liferay.document.library.kernel.model.DLFileEntryType, primKey=1240502, scope=4}
      com.liferay.portal.kernel.exception.NoSuchResourcePermissionException: {companyId=10132, name=com.liferay.document.library.kernel.model.DLFileEntryType, primKey=1240502, scope=4}
      at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.hasResourcePermission(ResourcePermissionLocalServiceImpl.java:1022)
      

        Attachments

          Activity

            People

            • Assignee:
              jeremy.chen Jeremy Chen
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 weeks, 1 day ago

                Packages

                Version Package
                7.3.3 CE GA4
                Master