Details

    • Fix Priority:
      4
    • Affects Portal Version/s:
      6.1.2 CE GA3

      Description

      A non-admin user is not allowed to edit one of his documents by uploading a new version.

      Steps to reproduce it:
      1) go to Document and Media portlet
      2) add a document (tested with PDF and JPEG)
      3) edit the document just published
      4) select a different file
      5) publish
      6) you will get the error "Documents and Media is temporarily unavailable."

      In the logs you see:

      16:08:41,475 ERROR [qtp1311760211-606][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)

      [...]

      16:08:41,511 ERROR [qtp1311760211-606][render_portlet_jsp:157] java.lang.NullPointerException
      at com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl.equals(ExpandoBridgeImpl.java:114)

      Workaround: give User role the "view" permissions to Custom Field "manualCheckInRequired"
      1) go to Control Panel > Custom fields
      2) select "manualCheckInRequired" (Documents and Media asset type)
      3) check User-View checkbox
      4) save

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                2.1.X CE
                2.1.0 EE GA3