Skip Menu |
 

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

Report information
The Basics
Id: 66666
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: roman.daniel [...] gtsnovera.cz
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.08127
Fixed in: 0.08191



Subject: Exiting subroutine via next in DBIx::Class::ResultSource::sequence
Download (untitled) / with headers
text/plain 368b
Loading some old schema I got a warning Exiting subroutine via next at /usr/local/share/perl5/DBIx/Class/ResultSource.pm line 636 I think there is a typo in sequence next should be replaced by return sub sequence { my ($self,$seq) = @_; my @pks = $self->primary_columns or next; $_->{sequence} = $seq for values %{ $self->columns_info (\@pks) }; }
Download (untitled) / with headers
text/plain 627b
On Wed Mar 16 14:22:15 2011, DANIELR wrote: Show quoted text
> Loading some old schema I got a warning > Exiting subroutine via next at > /usr/local/share/perl5/DBIx/Class/ResultSource.pm line 636 > > I think there is a typo in sequence next should be replaced by return > > > sub sequence { > my ($self,$seq) = @_; > > my @pks = $self->primary_columns > or next; > > $_->{sequence} = $seq > for values %{ $self->columns_info (\@pks) }; > }
Already fixed, will release shortly (fsvo of shortly) http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits/DBIx-Class.git;a=commitdiff;h=5b0bea843cd41bd5f81805bc0175c23465f8247f
"shortly" is finally here :)


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.