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

Insertion of default FileEntryTypes fails at startup

    Details

    • Fix Priority:
      2

      Description

      We are only supporting one language in our system so we have set locale to en_GB

      company.default.locale= en_GB

       

      When AddDefaultDocumentLibraryStructuresAction tries to insert default DLFileEntryTypes at startup it fails because LanguageUtil.getSupportedLocales() return an empty array even though  getAvailableLocales return en_GB but because of locale being in locales.beta, method doesn't consider it and it fails. 

      We can easily change the locales.beta property and exclude en_GB but may be default behavior should be a bit better than it is now. 

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              zainu220@gmail.com Abid Mehmood
              Participants of an Issue:
              Recent user:
              Sherry Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                2 years, 26 weeks ago

                Packages

                Version Package