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

Companion app does not show PDF on Mac OS Big Sur

    XMLWordPrintable

Details

    Description

      Issue Summary

      Companion app does not show PDF's on Mac OS Big Sur

      Steps to Reproduce

      • Click on the edit button on a pdf preview in confluence using atlassian companion(v 1.2.5) on MacOS big Sur
      • Only PDF's are affected and other file types like XLS are opened correctly.

      Expected Results

      Companion app does not open the pdf in preview, rather shows nothing

      Actual Results

      Companion app should open the pdf in preview

      The below exception is thrown in the xxxxxxx.log file:

      error:	adc:browser 2021-04-01T15:05:39.018Z logged raw sentry error: {"extra":{"unhandledPromiseRejection":true,"Error":{"errno":-2,"syscall":"open","code":"ENOENT","path":"/System/Applications/Books.app/Contents/Resources/undefined.icns"},"node":"v12.13.0"},"message":"Error: ENOENT: no such file or directory, open '/System/Applications/Books.app/Contents/Resources/undefined.icns'","exception":[{"type":"Error","value":"ENOENT: no such file or directory, open '/System/Applications/Books.app/Contents/Resources/undefined.icns'","stacktrace":{"frames":
      

      Note:
      Companion app is using default Mac app to preview and default app is books since books app resource is crashing after Mac OS upgrade as per this forum: https://developer.apple.com/forums/thread/121533 which is not letting any PDF’s to show up on Mac OS big Sur due to the Mac bug: https://developer.apple.com/forums/thread/659317 therefore, Companion app is not showing anything on PDF preview

      Workaround

      Try changing default pdf view app from books to something else.

      Attachments

        Issue Links

          Activity

            People

              aknight@atlassian.com Alex K
              nsingh@atlassian.com Nivedita Singh
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: