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

Pages Portlet inaccessible if available "locales" set in portal-ext.properties does not contain the system's locale

Details

    • 4

    Description

      Description
      When the available locales set in portal-ext.properties does not contain the system default locale, we will fail to create the search page for the default company in the PortalInstanceLifecycleListener for LayoutPrototype.

      Note
      This cannot be reproduced if locales is not changed in the portal-ext.properties since a portal admin's system locale will likely be in the list of default locales allowed in the default property set in the portal.properties

      Required portal-ext.properties (If your system locale is es_ES, then replace es_ES with something else like en_US)
      company.default.locale=es_ES
      locales.enabled=es_ES
      locales=es_ES

      Steps to Reproduce
      Start a Clean portal bundle
      Navigate to Pages Portlet

      Expected Result
      Portal starts up and can navigate to Pages Portlet

      Actual Result
      Alarming warning thrown on startup consistently and Pages Portlet is inaccessible

      GIST
      https://gist.github.com/kyle-miho/f4c9e8387c49c14737b8f819d8a74954

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              kyle.miho Kyle Miho
              Felipe Lins Felipe Lins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                45 weeks, 1 day ago

                Packages

                  Version Package