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

Cannot remove available language from a site

Details

    Description

      Steps to Reproduce:

      1. Add a new site "testsite"
      2. Add a Widget page to the site
      3. Go to Site Settings > Languages
      4. Define a Custom Language
      5. Set French as the default language
      6. Remove all available languages from the site except for French and English
      7. Assert navigation to site at both languages
        http://localhost:8080/en/web/testsite
        http://localhost:8080/fr/web/testsite
      8. Go to Site Settings > Languages
      9. Remove "English" from available languages
      10. Attempt to navigate to English version of the site
        http://localhost:8080/en/web/testsite

      Expected Result:
      English version of the site is no longer found.

      Actual Result:
      English version of the site is returned.

      Note English also no longer displays as an "Available" Locale in the Site Settings.

      Reproduced on:
      Master 26e80ce6e04bb233d468bb981aeb52d1b0251bb6
      7.2.x d826da485c00f11d66a5eb86218991ef4c7ed7fc

      Not Reproducible on:
      7.1.x 19a3c1de268cd7fa8fd8bece82b91da7242ae2b7
      7.0.x c511fbec6ae60af38f09f8052a195facb86ceb7d

      Attachments

        Issue Links

          Activity

            People

              yang.cao Yang Cao
              victor.ware Victor Ware
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 21 weeks, 3 days ago

                Packages

                  Version Package
                  7.2.10 DXP FP7
                  7.2.X
                  7.3.10 DXP GA1
                  Master