Skip Menu |

This queue is for tickets about the OpenOffice-OODoc CPAN distribution.

Report information
The Basics
Id: 39174
Status: resolved
Priority: 0/
Queue: OpenOffice-OODoc

People
Owner: Nobody in particular
Requestors: LittleSister [...] softhome.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.025
Fixed in: 2.105



Subject: OpenOffice::OODoc::Text::extendText bug
Date: Wed, 10 Sep 2008 20:48:01 -0600
To: bug-OpenOffice-OODoc [...] rt.cpan.org
From: LittleSister [...] softhome.net
OpenOffice-OODoc-2.103 OpenOffice::OODoc::Text::extendText immediately returns undef if the 'text' argument is the one character string '0'. my $text = shift or return undef; OpenOffice::OODoc::XPath::extendText has the more useful construct: my $text = shift; return undef unless defined $text; Great module, thanks for the hard work.
Le Mer. Sep. 10 22:49:22 2008, LittleSister@softhome.net a écrit : Show quoted text
> OpenOffice-OODoc-2.103 > > OpenOffice::OODoc::Text::extendText immediately returns undef if the
'text' Show quoted text
> argument is the one character string '0'. > > my $text = shift or return undef; > > OpenOffice::OODoc::XPath::extendText has the more useful construct: > > my $text = shift; > return undef unless defined $text;
Thank you for your report! You spotted an old, previously unnoticed bug. It will be fixed in the next release.
Fixed in 2.105