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

Roll back attachment entry in database if attachment file upload attempt fails

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Fix
    • None
    • N/A
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      When a user attempts to upload an attachment but the file upload process fails, the counter on attachment page and associated information is updated as though the operation succeeded. The database entry is still being made despite upload attempt failing.

      Checking the source code shows that the database entry is updated prior to the transfer being attempted to generate the id for the file-name, but if the upload fails then no rollback is performed on the database operation.

      Improved behaviour would be to check the file upload success and undo the entry if the attempt was unsuccessful.

      Attachments

        Issue Links

          Activity

            People

              smansour Sherif Mansour
              david.soul@atlassian.com David Soul [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: