Skip Menu |

This queue is for tickets about the JSAN-Client CPAN distribution.

Report information
The Basics
Id: 17317
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: JSAN-Client

People
Owner: Nobody in particular
Requestors: stennie [...] cpan.org
Cc:
AdminCc:

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



Subject: Test failure when trying to install with Class::DBI 3.0.13 (and probably 3.0.11, 3.0.12)
Tests in t/04_index and t/07_client both fail with Class::DBI 3.0.13, which no longer supports the order_by option for has_many searches used by JSAN/Index/Distribution.pm line 28: my @releases = $self->releases( { order_by => 'version desc' } ) Errors will be similar to: order_by is not a column of JSAN::Index::Release at ../Class/DBI/Search/Basic.pm line 115 See related RT bug #16493 for Class::DBI, in which the order_by feature for has_many is apparently unsupported :(. Have added a patch which hopefully will be considered. Cheers, Stephen
Updated CDBI dep to 3.000011 and removed the order_by, doing manual sorting instead. Have started a general plan to move away from CDBI to DBIx::Class to avoid future API changes.