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

Office importer: import document with image saves a new page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 15.9
    • Office
    • None
    • Unknown

    Description

      Reproduction

      1. have the office server connected (see Administration menu >> Content >> Office Server)
      2. create a new page with the WYSIWYG editor. Don't save it
      3. insert from an office document with an image (I've used this one: writer.docx)
        1. click the "+" (Insert) button of the WYSIWYG
        2. click "Import Office File"
        3. select the office document to import
        4. click "Import"
      4. the office document is imported
      5. save the page with "Save and View"

      Problematic behaviour

      At step 4 it's already possible to view the page, even if it hasn't been saved by the user, because of the automatic save. If the user decides to cancel the page creation, he will need to delete the page too.

      It's also possible to see two saves (after step 5) in the history tab.

      Expected behaviour

      The page shouldn't be saved before step 5 (see XWIKI-18810).

      Uploading an office document without an image inside will have the expected behaviour.

       

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              mpace Mathieu Pace
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: