Uploaded image for project: 'CKEditor Integration'
  1. CKEditor Integration
  2. CKEDITOR-316

Document translations are created when uploading a file from the wysiwyg in a multilanguage wiki

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.38
    • Fix Version/s: 1.39
    • Component/s: None
    • Labels:
      None
    • Environment:
      multilanguage
    • Difficulty:
      Easy
    • Similar issues:

      Description

      Steps to reproduce:

      • set the wiki multilanguage in administration, with english default language and available languages english and french
      • set the current langage to french (by adding ?language=fr, for example, at the end of the link)
      • navigate to the Sandbox page
      • create a new page (non-terminal, blank page), using the standard create page button
      • in the wysiwyg editor that is displayed for the newly created page, without saving the page, upload a file to the page from the create link dialog as follows:
        • click the link button in the editor toolbar
        • choose "attachment"
        • using the upload tab, upload a new file
        • finalise adding the link: choose a label and confirm
        • note on that in edit mode of this document in the right panels, the language of the document is properly marked as french, as expected.
      • save the page you've just creating

      Expected result:

      • a single translation of the page exists, with default language set to french

      Actual result:

      • two translations of the page exist: the original document, with default language empty, and a french translation. The content that was introduced in the wysiwyg editor on creation is now the content of the french translation, not of the original document

      See attached screenshots for visual step-by-step.
      The version of the wysiwyg editor installed is "CKEditor Integration 1.20".

        Attachments

        1. Selection_149.png
          Selection_149.png
          90 kB
        2. Selection_150.png
          Selection_150.png
          27 kB
        3. Selection_151.png
          Selection_151.png
          63 kB
        4. Selection_152.png
          Selection_152.png
          23 kB
        5. Selection_153.png
          Selection_153.png
          18 kB
        6. Selection_155.png
          Selection_155.png
          14 kB
        7. Selection_156.png
          Selection_156.png
          18 kB
        8. Selection_157.png
          Selection_157.png
          35 kB
        9. Selection_158.png
          Selection_158.png
          24 kB

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                lucaa Anca Luca
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: