Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20620

The global changes of supported language from pt_BZ to pt also changes the local of the page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 14.10.3
    • Search - Solr
    • None
    • Windows 10, xwiki-platform-distribution-flavor-jetty-hsqldb-14.10.3
    • Unknown

    Description

      Source
      If you check the solr-scheme for 14.10.3, you'll see that pt is the supported language of the Solr engine. However, if you will remove the pt_BZ as supported language as it was done in the previous case XWIKI-20619 and select pt and save it. You'll get this result.

      Steps to reproduce

      1. Unselect Portuguese Brazilian as the supported language
      2. Select simply Portuguese and save these changes
      3. Refresh the page that has pt_BZ locale language and observe.

      Actual result
      The locale of every page will be updated from pt_BZ to pt.

      Expected result
      The locale pt_BZ will be present, and the user will need to use script or manually change locale for each page.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            npetrenko Nikita Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: