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

Unable to switch on staging when the default language is not English

    Details

      Description

      Steps to reproduce:
      1) Start an empty Liferay
      2) On the startup wizard change the default language to Hungarian
      3) Enable staging.

      It will throw an exception:
      [...]
      Caused by: com.liferay.portlet.dynamicdatamapping.StructureNameException
      at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validateName(DDMStructureLocalServiceImpl.java:686)
      at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validate(DDMStructureLocalServiceImpl.java:645)
      at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.validate(DDMStructureLocalServiceImpl.java:639)
      at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.addStructure(DDMStructureLocalServiceImpl.java:90)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
      at $Proxy199.addStructure(Unknown Source)
      at com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil.addStructure(DDMStructureLocalServiceUtil.java:296)
      at com.liferay.portlet.dynamicdatamapping.lar.DDMPortletDataHandlerImpl.importStructure(DDMPortletDataHandlerImpl.java:143)
      at com.liferay.portlet.dynamicdatamapping.lar.DDMPortletDataHandlerImpl.doImportData(DDMPortletDataHandlerImpl.java:404)
      at com.liferay.portal.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:74)
      at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:1055)
      at com.liferay.portal.lar.PortletImporter.importPortletData(PortletImporter.java:996)
      at com.liferay.portal.lar.LayoutImporter.doImportLayouts(LayoutImporter.java:722)
      [...]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              paul.piao Paul Piao (Inactive)
              Reporter:
              zsolt.balogh Zsolt Balogh
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 13 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2