Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-39203

Saving modified pages over NeoOffice 3.0.2 back to the Office Connector Plugin 1.15 (Aspose Words 3.2.1) is reported to be broken

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The saving of a modified page opened over WebDAV / "Edit in Word" functionality is reported to be broken for NeoOffice 3.0.2 in Studio 2.5. Also not mentioned specifically, this page doesn't mention that this version is incompatible.

      The exception occurs if the customer saves a modified page back to the server while reading in the document from the request InputStream in the underlying Aspose Words library.

      @400000004d59686a16abeabc  -- url: /wiki/plugins/servlet/confluence/editinword/7372872/content/*****.doc | userName: *****
      @400000004d59686a16abeea4 org.apache.jackrabbit.webdav.DavException
      @400000004d59686a16abeea4       at com.benryan.servlet.webdav.PageAsDocResource.saveData(PageAsDocResource.java:186)
      @400000004d59686a16abfa5c       at com.benryan.servlet.webdav.PageResource.addMember(PageResource.java:64)
      @400000004d59686a16abfe44       at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doPut(AbstractWebdavServlet.java:503)
      @400000004d59686a16ac022c       at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:240)
      @400000004d59686a16ac0614       at com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet.service(ConfluenceWebdavServlet.java:104)
      ...
      @400000004d59686a16b0096c Caused by: com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
      @400000004d59686a16b00d54       at com.aspose.words.Document.a(Unknown Source)
      @400000004d59686a16b024c4       at com.aspose.words.Document.b(Unknown Source)
      @400000004d59686a16b028ac       at com.aspose.words.Document.a(Unknown Source)
      @400000004d59686a16b028ac       at com.aspose.words.Document.<init>(Unknown Source)
      @400000004d59686a16b02c94       at com.aspose.words.Document.<init>(Unknown Source)
      @400000004d59686a16b0307c       at com.aspose.words.Document.<init>(Unknown Source)
      @400000004d59686a16b0307c       at com.benryan.servlet.webdav.PageAsDocResource.saveData(PageAsDocResource.java:176)
      @400000004d59686a16b0401c       ... 135 more
      @400000004d59686a16b0401c Caused by: java.lang.IllegalStateException: java.nio.charset.UnsupportedCharsetException: UTF-7
      @400000004d59686a16b04404       at asposewobfuscated.mf.vb(Unknown Source)
      @400000004d59686a16b047ec       at asposewobfuscated.mf.uX(Unknown Source)
      @400000004d59686a16b047ec       at asposewobfuscated.mf.U(Unknown Source)
      @400000004d59686a16b04bd4       at com.aspose.words.ha.iE(Unknown Source)
      @400000004d59686a16b0578c       at com.aspose.words.ha.g(Unknown Source)
      @400000004d59686a16b0578c       ... 141 more
      @400000004d59686a16b05b74 Caused by: java.nio.charset.UnsupportedCharsetException: UTF-7
      @400000004d59686a16b05f5c       at java.nio.charset.Charset.forName(Charset.java:505)
      @400000004d59686a16b06344       ... 146 more
      

      Here are the version changes between Studio 2.4 and 2.5 in the involved code:

      Confluence 3.3.3
          WebDAV Plugin 2.4 (Jackrabbit 1.4)
              Office Connector Plugin 1.13 (Aspose Words 3.2.1)
                  
      
      Confluence 3.4.7
          WebDAV Plugin 2.5 (Jackrabbit 1.4)
              Office Connector Plugin 1.15 (Aspose Words 3.2.1)
      

      This post makes me suspicious that the used UTF-7 encoding might just be a fallback / hiding the original cause. I'm on Linux, thus couldn't verify / reproduce the bug. I asked the customer to edit a page I've verified to be modifiable over OpenOffice 3.2, but he just switched versions to OpenOffice 3.3 and reported it to be working / closed the issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fakraemer fabs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: