Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-7231

CommercePermissionUpgrade process is failing

    Details

    • Sprint:
      OM Sprint 1

      Description

      Caused by: com.liferay.portal.kernel.security.auth.PrincipalException: PERMISSIONSis not supported by role 39813
              at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl._updateResourcePermission(ResourcePermissionLocalServiceImpl.java:2194) ~[portal-impl.jar:?]
              at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.updateResourcePermission(ResourcePermissionLocalServiceImpl.java:1812) ~[portal-impl.jar:?]
              at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.setResourcePermissions(ResourcePermissionLocalServiceImpl.java:1538) ~[portal-impl.jar:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_302]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_302]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_302]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_302]
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
              at com.sun.proxy.$Proxy743.setResourcePermissions(Unknown Source) ~[?:?]
              at com.liferay.portal.kernel.service.ResourcePermissionLocalServiceWrapper.setResourcePermissions(ResourcePermissionLocalServiceWrapper.java:1040) ~[portal-kernel.jar:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_302]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_302]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_302]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_302]
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
              at com.sun.proxy.$Proxy744.setResourcePermissions(Unknown Source) ~[?:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_302]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_302]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_302]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_302]
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:100) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
              at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
              at com.sun.proxy.$Proxy47.setResourcePermissions(Unknown Source) ~[?:?]
              at com.liferay.commerce.internal.upgrade.v5_0_1.CommercePermissionUpgradeProcess._setResourcePermissions(CommercePermissionUpgradeProcess.java:198) ~[?:?]
              at com.liferay.commerce.internal.upgrade.v5_0_1.CommercePermissionUpgradeProcess.doUpgrade(CommercePermissionUpgradeProcess.java:70) ~[?:?]
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.lambda$upgrade$0(UpgradeProcess.java:114) ~[portal-kernel.jar:?]
              at com.liferay.portal.db.partition.DBPartitionUtil.forEachCompanyId(DBPartitionUtil.java:113) ~[portal-impl.jar:?]
              at com.liferay.portal.dao.db.BaseDB.process(BaseDB.java:307) ~[portal-impl.jar:?]
              at com.liferay.portal.kernel.dao.db.BaseDBProcess.process(BaseDBProcess.java:225) ~[portal-kernel.jar:?]
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:101) ~[portal-kernel.jar:?]
      

        Attachments

          Activity

            People

            Assignee:
            alessandro.iovane Alessandro Iovane
            Reporter:
            riccardo.alberti Riccardo Alberti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.4.3 CE GA4