Two blockers for Uploader, with fixes

Colin Clark colinbdclark at gmail.com
Sat Dec 18 00:08:39 UTC 2010


Hi everyone,

We've found two blockers for the new HTML 5 support in Uploader during pre-QA testing:

1. In Firefox 3.6, files fail to be uploaded to PHP-based servers
http://issues.fluidproject.org/browse/FLUID-3952

After some debugging with Cindy's super helpful server file upload debugging script, I was able to determine that we're submitting an invalid multipart request to the server. It seems the library used in our image gallery example tolerates it, but PHP 5 does not. Fair enough.

The bug is insanely easy to fix: we've got a stray space in at the beginning of our request. Removing the space at line 202 of HTML5UploaderSupport.js will put us back in business.

2. Firefox 3.6 loads files into memory before uploading them, causing a crashing risk if the browser runs out of memory on large files.
http://issues.fluidproject.org/browse/FLUID-3937

This one is arguably Mozilla's bug, but we need to do the right thing and not risk crashing the user's browser. We'll add an extra check in Firefox 3.6 that limits the size of accepted uploads to something reasonable, and document this as a known issue. Firefox 4 is coming soon and does not suffer from this problem.

Both of these fixes are on schedule for Monday morning and then QA can start on Uploader. Apologies for the inconvenience these late bugs have caused, and huge thanks to Cindy and the ATutor team for helping us figure out the first one!

Colin

---
Colin Clark
Technical Lead, Fluid Project
http://fluidproject.org




More information about the fluid-work mailing list