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

"Page from Office" does not import images from Word documents when Filesystem attachments are used.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3-milestone-1
    • 3.2.1, 4.0-rc-1, 3.5.1
    • Office
    • None
    • Windows XP, Tomcat 6, JRE 1.6
    • Page from office, images, attachments, import
    • Unknown
    • n/a

    Description

      When attachments are stored on filesystem, "Page from Office" imports images incorrectly. Under the storage directory only ~v1.1 and ~v1.2 files are found (two created versions of the images may be also a bug). Files with current filename (without ~vX.X) is missing. This function works correctly if attachments are stored in the database.

      My xwiki.cfg contains these settings:

      xwiki.store.attachment.hint = file
      xwiki.store.attachment.versioning.hint = file
      xwiki.store.attachment.recyclebin.hint = file

      The attached docx is the document I tried to import.
      The attached zip contains the files under the "storage" folder after import is done.
      The attached screenshot contains the result of the import.

      Attachments

        1. patch.txt
          2 kB
          Guillaume Delhumeau
        2. Word_import_attachment_error.docx
          17 kB
          Daniel Marczisovszky
        3. Word_import_attachment_error.png
          32 kB
          Daniel Marczisovszky

        Issue Links

          Activity

            People

              calebjamesdelisle CalebJamesDeLisle
              marczi Daniel Marczisovszky
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: