Resources uploads are failing silently and sporadically

Description

I've found that uploading files normally through the Resources tool is exhibiting sporadic failure, but consistently for given files. Example cases:

  • Uploading the attached README.txt results in a 0-byte file in Resources, while renaming it README.xsl allows proper upload.

  • Using "Upload New Version" for README.xsl with the same file results in an updated 0-byte file.

  • Uploading the attached STUFF.txt file (as STUFF.txt and README.txt) results in a complete and proper upload.

This is happening for other files and cases as well, but these should illustrate the problem reproducibly. This is not happening on 2.7.x as we stage for 2.7.1 release.

Also note that STUFF.txt is modeled after README.txt, including the same interesting characters and formatting conventions, though with junk content.

Attachments

2
  • 19 Aug 2010, 08:28 AM
  • 19 Aug 2010, 08:28 AM

is incorporated by

Activity

Show:

Stephen Marquard August 20, 2010 at 1:35 AM

Reverted trunk commit in https://sakaiproject.atlassian.net/browse/SAK-17558#icft=SAK-17558 which caused this behaviour.

Stephen Marquard August 19, 2010 at 11:23 AM

In testing, a range of files smaller than README.txt (around 5K) but larger than 1000 bytes failed to upload correctly (0 byte), but copying README.txt with webdav did work correctly.

Stephen Marquard August 19, 2010 at 8:50 AM

Reproduced on a cafe trunk build on my macbook (the README.txt) case.

Incorporated

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

Sakai trunk (2.8) r81254 - HSQLDB, MySQL, Oracle

Created August 19, 2010 at 8:28 AM
Updated March 27, 2012 at 7:02 AM
Resolved August 20, 2010 at 1:35 AM