true or defined bug requires updating dependencies

5 views
Skip to first unread message

Peter Karman

unread,
Mar 2, 2014, 5:32:18 PM3/2/14
to dezi-...@googlegroups.com
Several Dezi dependencies just got updates pushed to CPAN, all of which
(in one form or another) solve this bug:

before:

my $query = shift or croak "query required";

after:

my $query = shift;
croak "query required" unless defined $query;


The affected modules are:

Dezi::Client 0.002002
Search::Tools 0.99
Search::OpenSearch 0.31
Search::OpenSearch::Server 0.28
Search::OpenSearch::Engine::Lucy 0.19
SWISH::Prog::Lucy 0.20

You may never be bitten by this bug unless you search for:

/search?q=0

but when you gotta match zero, you should not have to suffer an exception.

h/t to crazedpsyc on #dezisearch for the bug report

--
Peter Karman . http://peknet.com/ . pe...@peknet.com

Peter Karman

unread,
Mar 2, 2014, 5:36:58 PM3/2/14
to dezi-...@googlegroups.com
On 3/2/14 4:32 PM, Peter Karman wrote:

>
> The affected modules are:
>
> Dezi::Client 0.002002
> Search::Tools 0.99
> Search::OpenSearch 0.31
> Search::OpenSearch::Server 0.28
> Search::OpenSearch::Engine::Lucy 0.19
> SWISH::Prog::Lucy 0.20
>

also Search::Query 0.25
Reply all
Reply to author
Forward
0 new messages