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

Bad default of 1 in XWiki.isMultilingual instead of 0 (when no XWikiPreferences object exists)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3
    • 4.3-rc-1
    • Old Core
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      When, for instance, the Distribution Wizard is started on first boot of a XEM instance, if a cookie exists stating that the language is fr, the DW will read and use it instead of defaulting to English.

      This happens because XWiki.isMultilingual(...) returns true (by default) instead of false.

      The default value in XWikiPreferences is set to false, so, XWiki.isMultilingual(...) should do the same.

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: