XWiki Platform
  1. XWiki Platform
  2. XWIKI-6848

Sometimes downloaded attachments are empty

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2 M2
    • Fix Version/s: 3.2 M3, 3.1.1
    • Component/s: Storage
    • Labels:
      None
    • Difficulty:
      Trivial
    • Similar issues:
      XWIKI-6749Some problems when downloading attachment.
      XWIKI-10201Download is stuck when choosing XAR as output and leaving the Target field empty
      XWIKI-6921Resume download feature for attachments
      XWIKI-6595Infinite attachment download time
      XWIKI-789Files inside a ZIP attachment are no longer downloading correctly.
      XWIKI-219Create download revision action
      XWIKI-421Copying a wiki failed sometime on Documents with Attachments or Objects
      XWIKI-8957Unable to attach an empty file on Oracle
      XWIKI-7576Sometimes clicking on "Add Extension" fails with macro error

      Description

      There is a thread concurrency issues when loading attachments, it is possible to end up with an empty attachment content when two parallel requests request the same resource and it wasn't in the cache already.

        Issue Links

          Activity

          Hide
          Sergiu Dumitriu added a comment -

          Fixed in 0551110

          Show
          Sergiu Dumitriu added a comment - Fixed in 0551110
          Hide
          Vincent Massol added a comment -

          This is happening for example in our Selenium2 AttachmentTest test class for some unknown reason (seems to be a sel2 issue, see https://groups.google.com/forum/#!topic/webdriver/tsuBgipwzRQ ).

          Show
          Vincent Massol added a comment - This is happening for example in our Selenium2 AttachmentTest test class for some unknown reason (seems to be a sel2 issue, see https://groups.google.com/forum/#!topic/webdriver/tsuBgipwzRQ ).

            People

            • Assignee:
              Sergiu Dumitriu
              Reporter:
              Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: