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

Preview for json file types continuously loads

XMLWordPrintable

      Issue Summary

      • If any json files with brackets in its content, " {" and "}

        " is added into a page in Confluence, the card file preview never completely loads and returns a spinning icon.

      Steps to Reproduce

      1. Upload a json file, like the one below into a page in Confluence.
      2. Publish the page, and notice that the attachment will not have any preview.
        • Only returning a default file icon.
      3. Refresh the page, and the preview will attempt to load forever with a spinning icon.

      Expected Results

      • The preview should be load,
      • Or if the file content cannot be previewed, it should show the default icon.

      Actual Results

      • The preview continuously attempts to load with a spinning icon.

      Workaround

      • Currently there is no known workaround for this behavior. A workaround will be added here when available

      Note

      1. This issue is only for the "file preview" when in the "card" display.
      2. Clicking on the attachment will still load/display the full screen preview without any issues.

        1. SSR.png
          SSR.png
          9 kB
        2. NO_SSR.png
          NO_SSR.png
          9 kB
        3. example_1.json
          0.1 kB

              Unassigned Unassigned
              smaran Sattesh M
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: