Skip Menu |
 

This queue is for tickets about the DBIx-SearchBuilder CPAN distribution.

Report information
The Basics
Id: 18280
Status: patched
Priority: 0/
Queue: DBIx-SearchBuilder

People
Owner: RUZ [...] cpan.org
Requestors: dimid [...] no-more.kiev.ua
Cc:
AdminCc:

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



Subject: May be i find a little bug
Date: Tue, 21 Mar 2006 20:03:59 +0200
To: jesse [...] fsck.com
From: Alexey Grebenschikov <dimid [...] no-more.kiev.ua>
Download (untitled) / with headers
text/plain 546b
Hello. I work with DBIx::SearchBuilder::Record and find missing lc within PrimaryKeys: line 404: sub PrimaryKeys { my $self = shift; my %hash = map { $_ => $self->{'values'}->{$_} } @{$self->_PrimaryKeys}; return (%hash); ^ } | may be lc $_ ? if _PrimaryKeys return ['Id'] or any keys contain big litter, operation SetAnyField will be wrong beecause PrimaryKeys return Id => undef Good Bye. P.S.: Sorry to trouble you and my very bed english.
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #18280] May be i find a little bug
Date: Tue, 21 Mar 2006 21:29:23 -0500
To: Alexey Grebenschikov via RT <bug-DBIx-SearchBuilder [...] rt.cpan.org>
From: jesse <jesse [...] fsck.com>
Yep. That looks like a bug.
Download (untitled) / with headers
text/plain 704b
Resolved in the repository. On Tue Mar 21 21:27:06 2006, dimid@no-more.kiev.ua wrote: Show quoted text
> > Hello. > > I work with DBIx::SearchBuilder::Record and find missing lc within > PrimaryKeys: > > line 404: > sub PrimaryKeys { > my $self = shift; > my %hash = map { $_ => $self->{'values'}->{$_} } @{$self- >_PrimaryKeys}; > return (%hash); ^ > } | may be lc $_ ? > > if _PrimaryKeys return ['Id'] or any keys contain big litter, operation > SetAnyField will be wrong beecause PrimaryKeys return Id => undef > > Good Bye. > > P.S.: Sorry to trouble you and my very bed english. > >
-- Best regards, Ruslan.


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.