Details

      Description

      1. Log in as test@liferay.com.
      2. Deploy portal-compat-hook.
      3. Create a user with Roles " Site Owner ". (make sure that new user has no admin role)
      4. Sign out and Sign in as new user.
      5. Add Documents and Media Portlet.
      6. Add Document.
      7. Edit Document.
      8. Select another or same document for upload.
      9. Save.

      Observe: "Documents and Media is temporarily unavailable."

      03:11:51,398 ERROR [http-bio-8080-exec-61][ExpandoBridgeImpl:604] com.liferay.portal.security.auth.PrincipalException
      com.liferay.portal.security.auth.PrincipalException
      	at com.liferay.portlet.expando.service.permission.ExpandoColumnPermissionImpl.check(ExpandoColumnPermissionImpl.java:36)
      	at com.liferay.portlet.expando.service.permission.ExpandoColumnPermissionUtil.check(ExpandoColumnPermissionUtil.java:33)
      	at com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl.addValue(ExpandoValueServiceImpl.java:48)
      	at com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl.addValues(ExpandoValueServiceImpl.java:80)
      ...
      
      	at com.liferay.portlet.expando.service.ExpandoValueServiceUtil.addValues(ExpandoValueServiceUtil.java:84)
      	at com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl.setAttributes(ExpandoBridgeImpl.java:591)
      	at com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl.setAttributes(ExpandoBridgeImpl.java:626)
      	at com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl.setAttributes(ExpandoBridgeImpl.java:617)
      ...
      	at com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl.setExpandoBridgeAttributes(DLFileVersionModelImpl.java:855)
      	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.updateFileVersion(DLFileEntryLocalServiceImpl.java:2192)
      	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.updateFileEntry(DLFileEntryLocalServiceImpl.java:2070)
      	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.updateFileEntry(DLFileEntryLocalServiceImpl.java:1170)
      	at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceWrapper.updateFileEntry(DLFileEntryLocalServiceWrapper.java:606)
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 36 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.X EE