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

After changing instance name, then changing current localizations in Instance Settings, localization validation error appears


    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.X, Master
    • Fix Version/s: None
    • Component/s: Portal Configuration
    • Labels:


      After starting up a clean instance, if we arbitrarily save the default site's settings (i.e. without any modifying any data, click save) with the default localization configuration, then change the instance settings localization to a very specific set, trying to save the default site's settings again results in validation errors.

      Steps to Reproduce

      1. Start up Liferay in English (United States)
      2. Go to Site Settings
      3. In the Liferay DXP Site Settings, click Save
      4. Go to Control Panel -> Configuration -> Instance Settings, then change the site name from Liferay DXP to "Testing", then Save.
      5. Open Control Panel -> Configuration -> Instance Settings > Open Miscellaneous tab
      6. At the Available Languages section, exclude all languages from the "Current" languages list, and move "English(United States)" and "Indonesian(Indonesia)" languages from "Available" list to "Current" list, then click "Save"
      7. Open Site Settings, then click Save in the Site Settings.

      Expected Results:
      No error message is thrown if there isn't any localized data. Or, improve messaging to indicate what is causing the validation problem.

      Actual Results:
      Error message that says "Please select the available languages of the site among the available languages of the portal (Indonesian (Indonesia), English (United States))." appeared at the top of the screen.

      Reproduced in
      DXP 7.0 + DE-54
      7.0.x, master

      Note: In Master, in step 5, after you click on the hamburger bar, go into Site Settings.




            seiphon.wang Seiphon Wang
            seiphon.wang Seiphon Wang
            Participants of an Issue:
            Recent user:
            Seiphon Wang
            0 Vote for this issue
            0 Start watching this issue


              Days since last comment:
              2 years, 26 weeks, 2 days ago


                Version Package