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

Using a non-english language in portal-ext.properties, case Portal Setup Wizard to fail

    Details

    • Fix Priority:
      4

      Description

      Steps to Reproduce

      1. Add the following line to portal-ext.properties before startup: company.default.locale=es_ES
      2. Save the file
      3. Startup portal
      4. Verify when Portal Setup Wizard appears, the selected default language is spanish.
      5. Enter admin email address an submit the form with spanish as default language

      Expect Result
      The User should be able to complete the first time setup with a different lanaguage than English.

      Actual Result
      After submit is pressed, blank page in browser, and the following error in the tomcat console:

      2021-06-09 14:50:37.015 WARN  [http-nio-8080-exec-1][DependencyManagerSyncImpl:120] Dependency manager sync timeout after waiting 60s2021-06-09 14:50:37.015 WARN  [http-nio-8080-exec-1][DependencyManagerSyncImpl:120] Dependency manager sync timeout after waiting 60s2021-06-09 14:50:37.222 ERROR [Portal Dependency Manager Component Executor--1][JDBCExceptionReporter:234] transaction rollback: serialization failure2021-06-09 14:50:37.225 ERROR [Portal Dependency Manager Component Executor--1][PortletTracker:398] Portlet com_liferay_commerce_bom_admin_web_internal_portlet_CommerceBOMAdminPortlet from com.liferay.commerce.bom.admin.web_5.0.5 [375] failed to initializecom.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.LockAcquisitionException: could not execute query at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:614) ~[portal-kernel.jar:?] at com.liferay.portal.service.persistence.impl.ResourceActionPersistenceImpl.findByName(ResourceActionPersistenceImpl.java:250) ~[portal-impl.jar:?] at com.liferay.portal.service.persistence.impl.ResourceActionPersistenceImpl.findByName(ResourceActionPersistenceImpl.java:135) ~[portal-impl.jar:?] at com.liferay.portal.service.persistence.impl.ResourceActionPersistenceImpl.findByName(ResourceActionPersistenceImpl.java:97) ~[portal-impl.jar:?] at com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.getResourceActions(ResourceActionLocalServiceImpl.java:331) ~[portal-impl.jar:?] at com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.checkResourceActions(ResourceActionLocalServiceImpl.java:119) ~[portal-impl.jar:?] at com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.checkResourceActions(ResourceActionLocalServiceImpl.java:88) ~[portal-impl.jar:?] at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
      

      Created from thread

      cc Victor Oscuro

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              gabor.lovas Gábor Lovas
              Participants of an Issue:
              Recent user:
              Victor Ware
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 weeks, 5 days ago

                  Packages

                  Version Package