This queue is for tickets about the GD-Barcode CPAN distribution.

Report information
The Basics
Id:
29123
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
Anonymous(no email address set)
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: QRcode dies
Date: Mon, 3 Sep 2007 02:49:40 +0200 (CEST)
To: bug-GD-Barcode@rt.cpan.org
From: Anonymous <cripto@ecn.org>
GD::Barcode::QRcode dies when there is an overflow error, but that is inconsistent with the error checking as documented in GD::Barcode, where it suggests: die $GD::Barcode::errStr unless($oGdBar);
From: petr@practisoft.cz
To remove this bug please open QRcode.pm file, search for first occurence of word "die" and replace it with word "return" :-) Original code: ---------------------------------- elsif ($iTotalBits > $iMaxDatBits){ die "Overflow error. version $oSelf->{Version}\n" . "total bits: $iTotalBits max bits: $iMaxDatBits\n"; } ---------------------------------- New code: ---------------------------------- elsif ($iTotalBits > $iMaxDatBits){ return "Overflow error. version $oSelf->{Version}\n" . "total bits: $iTotalBits max bits: $iMaxDatBits\n"; } ----------------------------------


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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