Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 26070
Status: rejected
Priority: 0/
Queue: CGI

People
Owner: LDS [...] cpan.org
Requestors: greanie [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 7A8BB4D814B for <bug-CGI.pm [...] rt.cpan.org>; Tue, 3 Apr 2007 11:52:15 -0400 (EDT)
Received: (qmail 3770 invoked by alias); 3 Apr 2007 15:52:14 -0000
Received: from web60411.mail.yahoo.com (HELO web60411.mail.yahoo.com) (209.73.178.154) by la.mx.develooper.com (qpsmtpd/0.28) with SMTP; Tue, 03 Apr 2007 08:52:07 -0700
Received: (qmail 34327 invoked by uid 60001); 3 Apr 2007 15:52:02 -0000
Received: from [216.107.208.145] by web60411.mail.yahoo.com via HTTP; Tue, 03 Apr 2007 08:52:02 PDT
Delivered-To: cpan-bug+cgi.pm [...] diesel.bestpractical.com
MIME-Version: 1.0
Subject: error in filehandle returned by upload function
X-Ymail-Osg: FJ4XtFcVM1kNwSGIpue8R.nLoSqMBlm6zlQ68oN6snYLv6q.vOMBw46o5BZxCDLNJAtXhy2PJUC95Ee2iJAkuWTYmxFF3sTSQRIGX_7hRhTsCkYEaYbfOg--
Domainkey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=3egK0WiEGtd/bFHJZHhKuoRjGGr1hS5eHUvB9HVKoEZR0HQ+tFi9Tp6+2/94sZTCSUK4S1EE+/MpuPb19B+DGHfqT2N5tE4TljMHMNxSgH+8NtyuJ2wAQsa4akdZ8kWxSgEsTTsvJu5SVi2LtzK1TDIQ5ecJE9GNFrLfLH0i7J4=;
X-Spam-Status: No, hits=0.8 required=8.0 tests=BAYES_00,DK_POLICY_TESTING,DK_SIGNED,DK_VERIFIED,DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS
Return-Path: <greanie [...] yahoo.com>
X-Mailer: YahooMailRC/476 YahooMailWebService/0.7.41.8
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-CGI.pm [...] rt.cpan.org
Date: Tue, 3 Apr 2007 08:52:02 -0700 (PDT)
Received-SPF: pass (x1.develooper.com: local policy)
Message-Id: <218224.33837.qm [...] web60411.mail.yahoo.com>
content-type: text/plain; charset="utf-8"
To: bug-CGI.pm [...] rt.cpan.org
From: Michael Greenish <greanie [...] yahoo.com>
X-RT-Original-Encoding: ascii
Content-Length: 1170
Download (untitled) / with headers
text/plain 1.1k
I am using: perl 5.8.5 cgi.pm v 3.11 SuSE Linux 9.2 On occasion, $CGI->upload( 'file_param' ) returns undefined even though the file is properly uploaded and a dump (using Data::Dumper::Simple) of the cgi object shows the proper temp file in the tmpfiles hash. I verified that the temp file was properly uploaded by commenting out the unlink in the CGITempFile package DESTROY function, found the file on the server at the location listed in the tmpfiles hash and checked the byte count on the server versus on the client. I checked the upload function for the most recent version (3.28) and it seems unchanged since 3.11 so this problem can not be solved by upgrading. I notice this when performing multiple uploads in a single post, perhaps 10 or 20 files. File size can range from 10kB to 5MB. No cgi_errors were found to indicate there was a problem and I can not see why the upload function would fail occasionally. Thanks, Mike Greenish Show quoted text
____________________________________________________________________________________ Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
MIME-Version: 1.0
In-Reply-To: <218224.33837.qm [...] web60411.mail.yahoo.com>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-16527-1175806477-1163.26070-0-0 [...] rt.cpan.org>
References: <218224.33837.qm [...] web60411.mail.yahoo.com>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 1464
Download (untitled) / with headers
text/plain 1.4k
Thanks. I am currently working on another file upload problem and perhaps this problem will be fixed when I resolve the other bug. On Tue Apr 03 11:52:28 2007, greanie@yahoo.com wrote: Show quoted text
> I am using: > > perl 5.8.5 > cgi.pm v 3.11 > SuSE Linux 9.2 > > On occasion, $CGI->upload( 'file_param' ) returns undefined even > though the file is properly uploaded and a dump (using > Data::Dumper::Simple) of the cgi object shows the proper temp
file Show quoted text
> in the tmpfiles hash. I verified that the temp file was properly > uploaded by commenting out the unlink in the CGITempFile package > DESTROY function, found the file on the server at the location > listed in the tmpfiles hash and checked the byte count on the > server versus on the client. I checked the upload function for
the Show quoted text
> most recent version (3.28) and it seems unchanged since 3.11 so > this problem can not be solved by upgrading. I notice this when > performing multiple uploads in a single post, perhaps 10 or 20 > files. File size can range from 10kB to 5MB. No cgi_errors were > found to indicate there was a problem and I can not see why the > upload function would fail occasionally. > > Thanks, > > Mike Greenish > > > > > >
Show quoted text
____________________________________________________________________________________
> Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
MIME-Version: 1.0
In-Reply-To: <218224.33837.qm [...] web60411.mail.yahoo.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <218224.33837.qm [...] web60411.mail.yahoo.com>
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-6413-1248401809-1778.26070-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1283
Download (untitled) / with headers
text/plain 1.2k
On Tue Apr 03 11:52:28 2007, greanie@yahoo.com wrote: Show quoted text
> I am using: > > perl 5.8.5 > cgi.pm v 3.11 > SuSE Linux 9.2 > > On occasion, $CGI->upload( 'file_param' ) returns undefined even > though the file is properly uploaded and a dump (using > Data::Dumper::Simple) of the cgi object shows the proper temp file > in the tmpfiles hash. I verified that the temp file was properly > uploaded by commenting out the unlink in the CGITempFile package > DESTROY function, found the file on the server at the location > listed in the tmpfiles hash and checked the byte count on the > server versus on the client. I checked the upload function for the > most recent version (3.28) and it seems unchanged since 3.11 so > this problem can not be solved by upgrading. I notice this when > performing multiple uploads in a single post, perhaps 10 or 20 > files. File size can range from 10kB to 5MB. No cgi_errors were > found to indicate there was a problem and I can not see why the > upload function would fail occasionally.
Thanks for the report. However, I'm marking th is as "rejected" now due to no further follow-up reports of this happening since 2007. If you still experience the issue, please reply to re-open the bug report. Mark


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.