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

Office Macro is not able to render graph/image in Excel or Word files while viewing

      Issue Summary

      Office Excel Macro does not show graphs/images in the Excel file on the Confluence page while viewing.

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Created a Confluence 8.5.18 environment
      2. Created a space and a page
      3. Uploaded the below sample Excel (or Word file containing embedded image or graph) file that contains an image;
        Test.xlsx
      4. Added Office Excel macro to the page and select the uploaded Excel file without changing any configuration for the macro

      Expected Results

      The graph/image should be displayed properly.

      Actual Results

      Graph/image is not displayed.

      Workaround

      add below system property to allow the missing classes for deserialisation

      -Dofficeconnector.deserialization.classes.allowlist=com.atlassian.plugins.conversion.convert.html.HtmlConversionData,[B 

          Form Name

            [CONFSERVER-98844] Office Macro is not able to render graph/image in Excel or Word files while viewing

            Johanna Lundhag added a comment -

            I cannot see this in the release notes for 8.5.20, any reason for that?

            Johanna Lundhag added a comment - I cannot see this in the release notes for 8.5.20, any reason for that?

            Jeffery Xie added a comment -

            Hi 47f37473287d,

            The fix was backported to 8.5.20 so the issue should not occur on 8.5.20

            Jeffery Xie added a comment - Hi 47f37473287d , The fix was backported to 8.5.20 so the issue should not occur on 8.5.20

            Alexandar Jovanovic added a comment -

            Does the error also occur in 8.5.20?

            Thanks in advance!

            Alexandar Jovanovic added a comment - Does the error also occur in 8.5.20? Thanks in advance!

            Akshay Kumar added a comment -

            A fix for this issue is available in Confluence Data Center 9.2.2. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Akshay Kumar added a comment - A fix for this issue is available in Confluence Data Center 9.2.2. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Surender added a comment -

            Issue is happening in Confluence v9.2.1 also.

            Thanks!

            Surender added a comment - Issue is happening in Confluence v9.2.1 also. Thanks!

            We upgraded to 8.5.18 the other day. Now all pictures, as a part of an Excel /Wordfile, used the macro Office Word or Office Excel, shows broken images. This is for sure bad  news, and we pray that a new version will be released from Atlassian , quite soon! This was an unpleasant one!

             

             

            Terje Bjørgve added a comment - We upgraded to 8.5.18 the other day. Now all pictures, as a part of an Excel /Wordfile, used the macro Office Word or Office Excel, shows broken images. This is for sure bad  news, and we pray that a new version will be released from Atlassian , quite soon! This was an unpleasant one!    

            Reproduced in 8.5.19

            Vladimir Verlin added a comment - Reproduced in 8.5.19

            Hannes Medwed added a comment - - edited

            https://jira.atlassian.com/browse/CONFSERVER-29521

            Seems to be a bug loop.

            Confluence 9.2.0 works. The fix should be back portet

            Hannes Medwed added a comment - - edited https://jira.atlassian.com/browse/CONFSERVER-29521 Seems to be a bug loop. Confluence 9.2.0 works. The fix should be back portet

            At the time of access of a page, the log file atlassian-confluence.log shows:
            WARN [http-nio-8090-exec-8] [com.benryan.conversion.FileBackedCache] loadFile Failed to read file <PATH>: Unauthorized deserialization attempt; com.atlassian.plugins.conversion.convert.html.HtmlConversionData
             -- url: /plugins/servlet/benryanconversion | userName: it-admin | referer: <URL> | traceId: e5d0766cf4328e27
            java.io.InvalidClassException: Unauthorized deserialization attempt; com.atlassian.plugins.conversion.convert.html.HtmlConversionData
                    at com.benryan.conversion.SafeFileObjectInputStream.resolveClass(SafeFileObjectInputStream.java:46)
                    at java.base/java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
                    at java.base/java.io.ObjectInputStream.readClassDesc(Unknown Source)
                    at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
                    at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)
                    at java.base/java.io.ObjectInputStream.readObject(Unknown Source)
                    at java.base/java.io.ObjectInputStream.readObject(Unknown Source)
                    at com.benryan.conversion.FileBackedCache.loadFile(FileBackedCache.java:139)
                    at com.benryan.conversion.FileBackedCache.lambda$get$0(FileBackedCache.java:125)

            Only happens when a graph is on the Sheet. Otherwise it is ok.
            Confluence DC 8.5.18

            Jann Rutishauser added a comment - At the time of access of a page, the log file atlassian-confluence.log shows: WARN [http-nio-8090-exec-8] [com.benryan.conversion.FileBackedCache] loadFile Failed to read file <PATH>: Unauthorized deserialization attempt; com.atlassian.plugins.conversion.convert.html.HtmlConversionData  -- url: /plugins/servlet/benryanconversion | userName: it-admin | referer: <URL> | traceId: e5d0766cf4328e27 java.io.InvalidClassException: Unauthorized deserialization attempt; com.atlassian.plugins.conversion.convert.html.HtmlConversionData         at com.benryan.conversion.SafeFileObjectInputStream.resolveClass(SafeFileObjectInputStream.java:46)         at java.base/java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)         at java.base/java.io.ObjectInputStream.readClassDesc(Unknown Source)         at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)         at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)         at java.base/java.io.ObjectInputStream.readObject(Unknown Source)         at java.base/java.io.ObjectInputStream.readObject(Unknown Source)         at com.benryan.conversion.FileBackedCache.loadFile(FileBackedCache.java:139)         at com.benryan.conversion.FileBackedCache.lambda$get$0(FileBackedCache.java:125) Only happens when a graph is on the Sheet. Otherwise it is ok. Confluence DC 8.5.18

              5339cdd01cf4 Jeffery Xie
              ae95049760ab Kaan Çalışkan
              Affected customers:
              24 This affects my team
              Watchers:
              47 Start watching this issue

                Created:
                Updated:
                Resolved: