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

"Edit in Office" fails to open file on the second attempt on IE10 and IE11

    XMLWordPrintable

Details

    Description

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

      On IE10 or IE11, "Edit in Office" opens the file in Office correctly the first time you click on the option. Then you save or close the Office document and back on Confluence, clicking again on "Edit in Office" nothing happens.

      In order to use the functionality again the IE window has to be closed and reopened.

      Environment:

      • Windows 7
      • MS Office 2010 (no compatibility pack is installed)
      • Java, via Programs and Features versions are :
        • Java 7 Update 71 (64bit) v7.0.710
        • Java SE Development Kit 7 Update 71 (64bit) v1.7.0.710
        • Java 6 Update 21 v6.0.210
        • Java 6 Update 39 (64bit) v6.0.390
      • Browsers
        • IE11
        • IE10

      Steps to Reproduce:

      1. Add Word 2010 document to a page. (a one sentence document would do)
      2. Click on "Edit in Office" and after entering your Confluence credentials the file will be opened in Office Word 2010
      3. Save then Close the document in Word.
      4. Click on "Edit in Office".

      Expected Result: The document is once again opened in Office Word 2010
      Actual Result: Nothing happens. No errors displayed on screen.

      Confluence logs an error: (full confluence-log.txt attached)

       2015-06-19 11:38:01,787 ERROR [TP-Processor36] [extra.webdav.servlet.ConfluenceWebdavServlet] service Unexpected error
        -- url: /wiki/plugins/servlet/confluence/editinword/13139974/attachments/SimpleWordDocument.docx | userName: user-name
       org.apache.jackrabbit.webdav.DavException: Precondition Failed
       	at org.apache.jackrabbit.webdav.lock.SerializableLockManager.releaseLock(SerializableLockManager.java:185)
       	at com.atlassian.confluence.extra.webdav.resource.AbstractConfluenceResource.unlock(AbstractConfluenceResource.java:416)
       	at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doUnlock(AbstractWebdavServlet.java:709)
      

      but the problem is when clicking the option a second time. The first time it opens correctly which proves that the Office Connector Prerequisites are met.

      IE Private Mode exhibits the exact same behaviour.

      Workaround:
      Close Internet Explorer and reopen it again to use the "Edit in Office" functionality again.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mfernandezbadii Mauro Badii
              Votes:
              9 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated: