[Seaside] error detected on WATemporaryFile

Philippe Marschall philippe.marschall at gmail.com
Mon Dec 6 19:33:36 UTC 2010


2010/12/6 Esteban Lorenzano <estebanlm at gmail.com>:
> Hi,
> I'm using upload streaming and I detected a bug on the solution: WAFile class>>fromChunk: aChunk
>
> does simply:
>
>        ^ self new readFromChunk: aChunk; yourself
>
>
> but WATemporaryFile>> readFromChunk: (who must derive the chunk into a temporary file), does not exists. Instead, it exist: WATemporaryFile >>initializeFromChunk: aChunk
>
> (which is never been called)
>
> I tried renaming #initializeFromChunk: to #readFromChunk: (and removing #initialize send), and now seems to work.

Indeed

 [1] http://code.google.com/p/seaside/issues/detail?id=619

Cheers
Philippe


More information about the seaside mailing list