[jifty-devel] Upload field broken in trunk
Stanislav Sinyagin
ssinyagin at yahoo.com
Thu Feb 25 08:24:45 EST 2010
----- Original Message ----
> From: Jesse Vincent <jesse at bestpractical.com>
> To: Nifty apps in a Jiffy <jifty-devel at lists.jifty.org>
> Sent: Fri, February 12, 2010 4:03:06 PM
> Subject: Re: [jifty-devel] Upload field broken in trunk
>
>
>
>
> On Thu, Feb 11, 2010 at 06:51:46AM -0800, Stanislav Sinyagin wrote:
> > hi,
> >
> > it works in Jifty-0.91117 from CPAN, and in the current trunk it's broken:
> >
> > use Jifty::Action schema
> > {
> > param 'upload_file' =>
> > label is 'Upload file',
> > render as 'Upload',
> > ;
> > .....
> >
> > sub take_action
> > {
> > my $self = shift;
> >
> > my $filehandle = $self->argument_value('upload_file');
> >
> > at this point I cannot read from the file handle. It looks like the filehandle
> closes immediately after opening.
> >
> >
> > I'm running lighthttpd+fcgi on a Linux box.
>
> Hm. Is TestApp::Uploads still passing its tests for you in trunk?
yep, the tests were ok.
The snapshot version that I used:
# git log
commit f2640eb4c36038f5e293d76d3d6aa44f36e60efb
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Fri Feb 5 09:01:39 2010 -0800
More information about the jifty-devel
mailing list