This is odd. I will look into this to verify. Could potentially be a
Flash player bug.
Thanks,
Allen
--- In ydn-javascript@yahoogroups.com, "Ben" <ben@...> wrote:
>
> We have been using the YUI uploader as a handy way to upload a file to
> the server in an asynchronous fashion. We do a bunch of text
> processing on the contents of the file and return back a series of
> status messages for each row.
>
> We've recently found that when the response returned from the server
> (a chunk of JSON) is too large (somewhere around 1100 characters seems
> to be the limit), the data that the JS function (handling the
> onUploadComplete event) receives is truncated and, strangely, the
> truncated data is repeated 5 times. This of course leaves a malformed
> JSON object which can't be parsed.
>
> Has anybody else had this problem? I haven't been able to determine
> the source of the bug yet by stepping through the Javascript in
> Firebug, so I'm suspecting the problem is in the swf file itself.
>