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

Unable to create new company when locale en_US is not in list of available locales

    Details

      Description

      A company cannot be created and an existing company's virtual host name cannot be changed if en_US is not in the list of available locales.

      Reproduce:

      1. Set environment variables LIFERAY_LOCALES and LIFERAY_LOCALES_PERIOD_ENABLED to de_DE
      2. Try to create a new company or change virtual host name of an existing company
      3. Observe log: com.liferay.portal.kernel.exception.AvailableLocaleException: com.liferay.portal.service.impl.VirtualHostLocalServiceImpl.updateVirtualHosts(VirtualHostLocalServiceImpl.java:181)

       Workaround: set environment variables LIFERAY_LOCALES and LIFERAY_LOCALES_PERIOD_ENABLED to de_DE,en_US

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sharry.shi Sharry Shi
                Reporter:
                8lw P. Kroll
                Participants of an Issue:
                Recent user:
                Zendesk for JIRA
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  18 weeks, 1 day ago

                  Packages

                  Version Package
                  7.2.10 DXP FP6
                  7.2.X
                  Master