Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-ObjectDriver CPAN distribution.

Report information
The Basics
Id:
92870
Status:
open
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
emmanuel [...] seyman.fr
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Test failures for t/06-errors.t
Date: Sun, 9 Feb 2014 21:39:21 +0100
To: bug-Data-ObjectDriver@rt.cpan.org
From: Emmanuel Seyman <emmanuel@seyman.fr>
I'm seeing test failures for t/06-errors.t on Fedora 20. [manu@orient Data-ObjectDriver-0.09]$ perl -MData::ObjectDriver::BaseObject t/06-errors.t 1..3 ok 1 - Inserted first record ok 2 - Second insert fails not ok 3 - Failed because of a unique constraint # Failed test 'Failed because of a unique constraint' # at t/06-errors.t line 32. # got: undef # expected: '1' # Looks like you failed 1 test of 3. Strangely, the test was run in August and ran fine back then. So something has changed between then and now. The logs for the succes: http://kojipkgs.fedoraproject.org//packages/perl-Data-ObjectDriver/0.09/9.fc20/data/logs/noarch/build.log The logs for the failure: http://kojipkgs.fedoraproject.org//work/tasks/9744/6509744/build.log Emmanuel Seyman
Subject: Re: [rt.cpan.org #92870] Test failures for t/06-errors.t
Date: Thu, 20 Mar 2014 11:59:25 +0000
To: bug-Data-ObjectDriver@rt.cpan.org
From: Zefram <zefram@fysh.org>
I see that failure today with DBD-SQLite-1.42 installed. The test passed with DBD-SQLite-1.40 installed and everything else the same. 1.40 was current on CPAN until yesterday; now 1.42 is current. The main change in 1.42 is upgrading version of SQLite. It looks like Fedora 20 uses basically DBD-SQLite-1.40 but using the system SQLite library, presumably more recent, instead of the bundled one. The failure is that ErrorTest->driver->last_error is returning undef instead of a mapped error code. The underlying $DBI::err and $DBI::errstr look fine, but the format of $DBI::errstr has changed between SQLite versions. Attached patch fixes. -zefram

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #92870] Test failures for t/06-errors.t
Date: Thu, 20 Mar 2014 19:51:49 +0100
To: Zefram via RT <bug-Data-ObjectDriver@rt.cpan.org>
From: Emmanuel Seyman <emmanuel@seyman.fr>
* Zefram via RT [20/03/2014 07:59] :
Show quoted text
> > It looks like Fedora > 20 uses basically DBD-SQLite-1.40 but using the system SQLite library, > presumably more recent, instead of the bundled one.
We do (I'm pretty sure I supplied the patch that fixed that). Fedora 20 runs with sqlite 3.8.4 currently.
Show quoted text
> Attached patch fixes.
Unless anyone strongly objects, I'll be releasing an update for Fedora 19 and 20 in a few days with Zefram's patch included. Emmanuel


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.