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

OpenOffice import attachment error with filsystem storage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.2
    • Office, Storage
    • None
    • Unknown

    Description

      • openoffice server enabled and connected
      • sotrage on filesystem

      User case:

      • if I import a very simple documents without images it works
      • if there are images in document (tried with doc, ppt, odp, odt) I get an error
      • in case of text document, I can see the list of attached images, but I can't open because I get in the web page "Error The attachment does not exist." and a corresponding error in log "Error number 3002 in 3: The attachment could not be found in the filesystem attachment store.This can happen if attachment storage is switched from database to filesystem without first moving all of the database attachments over to the filesystem using a script."

      — Log —

      ERROR faultOfficeViewer
      ScriptService - Failed to view office document: name = [test.odp], type = [ATTACHMENT], parent = [name = [Rocca], type = [DOCUMENT], parent
      = [name = [Sandbox], type = [SPACE], parent = [name = [xpublic], type = [WIKI], parent = [null]]]]
      org.xwiki.officeimporter.OfficeImporterException: Error while converting document [test.odp] into html.
      at org.xwiki.officeimporter.internal.builder.DefaultPresentationBuilder.importPresentation(DefaultPresentationBuilder.java:145) ~[x
      wiki-platform-office-importer-3.2.jar:na]

      ....

      at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]
      Caused by: org.xwiki.officeimporter.openoffice.OpenOfficeConverterException: Error while performing conversion.
      at org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeConverter.convert(DefaultOpenOfficeConverter.java:117) ~[xwiki-platform-office-importer-3.2.jar:na]
      ......

      tform-office-importer-3.2.jar:na]
      ... 64 common frames omitted
      Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
      at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177) ~[jurt-3.2.1.jar:na]
      at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143) ~[jurt-3.2.1.jar:na]

      2011-10-24 16:25:44,912 [**********************************_html_632095c9.png?width=121&height=85] WARN c.x.x.p.i.ImagePlugin - Failed to transform image attachment.
      com.xpn.xwiki.XWikiException: Error number 3002 in 3: The attachment could not be found in the filesystem attachment store.
      This can happen if attachment storage is switched from database to filesystem without first moving all of the database attachments over to the filesystem using a script.
      at com.xpn.xwiki.store.FilesystemAttachmentStore.loadAttachmentContent(FilesystemAttachmentStore.java:225) ~[xwiki-platform-store-filesystem-attachments-3.2.jar:na]
      at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4246) ~[xwiki-platform-legacy-oldcore-3.2.jar:na]

      Attachments

        Issue Links

          Activity

            People

              calebjamesdelisle CalebJamesDeLisle
              intertesto intertesto
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: