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

Editing pages in multilingual mode sometimes lead to unwanted creation of a translation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1 RC2
    • 1.1 RC1
    • {Unused} Core
    • None

    Description

      Set the wiki to multiple lingual
      Create a page with language "fr" and "en"
      Create a second page with language "en"
      Visit the first page and force the language to fr (with language=fr in the URL /xwiki/bin/edit/Space/Page1?editor=wiki&language=fr)
      Edit the second page without anything in the URL ( /xwiki/bin/edit/Space/Page2?editor=wiki)
      Modify and save
      This will create a page in language "fr" for Page2

      The reason is that the cookie setting is "fr" and is used to create the new page. We should always ignore the cookie setting if the language was not explicitely set using the "language" param and the page does not exist in this language.

      Attachments

        Activity

          People

            ludovic Ludovic Dubost
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: