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

Editor 'Insert Image' dialog returns an error despite image being successfully uploaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • None
    • 5.1.2
    • None

    Description

      Three different methods can be used to upload attachments to Confluence:

      1. Drag and drop (calls /plugins/drag-and-drop/upload.action)
      2. View attachments page (calls /pages/doattachfile.action)
      3. 'Insert Image' dialog from the Editor: Editor > Insert > Image (calls /pages/attachfile.action)

      The 'Insert Image' dialog performs the upload via an AJAX request which has a default timeout set to 12 seconds. Large files uploaded via the 'Insert Image' dialog will return an error "Could not upload the file to Confluence. The server may be unavailable" if the time taken to upload the file exceeds 12 seconds. This message is displayed despite the file being uploaded correctly.

      The error message does not appear for the other two upload methods.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dma@atlassian.com David Ma
              Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: