Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-54518

New Google Spreadsheets cannot be displayed using Google Spreadsheet Macro in Confluence

    XMLWordPrintable

Details

    Description

      **Summary**
      Newly created spreadsheet in Google cannot be displayed using the Google Spreadsheet macro. Error thrown as below

      java.lang.RuntimeException: java.lang.IllegalArgumentException: Trying to set foreign cookie
          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1137)
      caused by: java.lang.IllegalArgumentException: Trying to set foreign cookie
          at com.google.gdata.client.http.GoogleGDataRequest$GoogleCookie.<init>(GoogleGDataRequest.java:166)
      

      **Steps to reproduce**

      1. Create a new spreadsheet in Google Drive (Spreadsheet X)
      2. Login to OnDemand instance, <hostname>.atlassian.net with Google SSO
      3. Go to Confluence
      4. Create Page
      5. Insert Google Spreadsheet macro
      6. Choose file, spreadsheet X
      7. Observe that the error will be displayed in the preview
      8. Save

      **Expected Behaviour**
      The spreadsheet is display in the Confluence page

      **Current Behaviour**

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              namir Nursihah Amir (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: