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: 73133
Status: rejected
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors: jason.welter [...] tqs.com
Cc:
AdminCc:

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



Subject: Undefined $labelattributes causing uninitialized value errors in httpd log
Date: Fri, 9 Dec 2011 11:15:12 -0500
To: <bug-CGI.pm [...] rt.cpan.org>
From: "Welter, Jason" <jason.welter [...] tqs.com>
Download (untitled) / with headers
text/plain 569b
Adding a checkbox or *_box_group element to a form without passing in -labelattributes will cause an uninitialized value in concatenation error in the httpd error log: "Use of uninitialized value $_ in concatenation (.) or string at (eval 58) line 23." I don't know if this is the correct approach but adding this line to CGI.pm sub checkbox and _box_group After the rearrange function fixed it: $labelattributes = defined $labelattributes ? $labelattributes : {}; I'm using CGI version 3.58 but I think the bug exists across all versions.
Download (untitled) / with headers
text/plain 240b
This issue has been copied to: https://github.com/leejo/CGI.pm/issues/93 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
Download (untitled) / with headers
text/plain 198b
Rejecting. I'm not accepting any feature requests, patches, or updates to the HTML generating functions of CGI.pm unless they are of a critical nature (i.e. fixing fundamentally broken HTML output).


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.