Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.08270
Fixed in: 0.082801



Subject: 'Cascading delete on Ordered has_many works' t/60core.t test fails with sqlite 3.8.5
'Cascading delete on Ordered has_many works' t/60core.t test fails with sqlite 3.8.5. This passes with 3.8.4.3: ok 90 - stringify to false value doesn't cause error not ok 91 - Cascading delete on Ordered has_many works # Failed test 'Cascading delete on Ordered has_many works' # at t/60core.t line 362. # died: DBIx::Class::Exception (DBIx::Class::Storage::DBI::_dbh_execute(): DBI E xception: DBD::SQLite::st execute failed: UNIQUE constraint failed: track.cd, tr ack.position [for Statement "UPDATE track SET position = ? WHERE ( trackid = ? ) "] at t/60core.t line 362 # ) not ok 92 - Cascading through has_many top level. # Failed test 'Cascading through has_many top level.' # at t/60core.t line 363. # got: '3' # expected: '0' not ok 93 - Cascading through has_many children. # Failed test 'Cascading through has_many children.' # at t/60core.t line 364. # got: '3' # expected: '0' ok 94 - column_info ok I tested v0.08270-19-g2969955 code (current master HEAD).
Subject: Re: [rt.cpan.org #96499] 'Cascading delete on Ordered has_many works' t/60core.t test fails with sqlite 3.8.5
Date: Tue, 17 Jun 2014 11:52:37 +0000
To: Petr Pisar via RT <bug-DBIx-Class [...] rt.cpan.org>
From: Peter Rabbitson <ribasushi [...] cpan.org>
On Tue, Jun 17, 2014 at 06:56:46AM -0400, Petr Pisar via RT wrote: Show quoted text
> Tue Jun 17 06:56:43 2014: Request 96499 was acted upon. > Transaction: Ticket created by ppisar > Queue: DBIx-Class > Subject: 'Cascading delete on Ordered has_many works' t/60core.t test > fails with sqlite 3.8.5 > Broken in: 0.08270 > Severity: (no value) > Owner: Nobody > Requestors: ppisar@redhat.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96499 > > > > 'Cascading delete on Ordered has_many works' t/60core.t test fails with sqlite 3.8.5. This passes with 3.8.4.3: > > ok 90 - stringify to false value doesn't cause error > not ok 91 - Cascading delete on Ordered has_many works > > # Failed test 'Cascading delete on Ordered has_many works' > # at t/60core.t line 362. > # died: DBIx::Class::Exception (DBIx::Class::Storage::DBI::_dbh_execute(): DBI E > xception: DBD::SQLite::st execute failed: UNIQUE constraint failed: track.cd, tr > ack.position [for Statement "UPDATE track SET position = ? WHERE ( trackid = ? ) > "] at t/60core.t line 362 > # ) > not ok 92 - Cascading through has_many top level. > > # Failed test 'Cascading through has_many top level.' > # at t/60core.t line 363. > # got: '3' > # expected: '0' > not ok 93 - Cascading through has_many children. > > # Failed test 'Cascading through has_many children.' > # at t/60core.t line 364. > # got: '3' > # expected: '0' > ok 94 - column_info ok > > I tested v0.08270-19-g2969955 code (current master HEAD).
Yes, am aware of the issue, fix is in the works. Author of DBD::SQLite will hold the next release for a couple weeks until this is taken care of.
On Tue Jun 17 12:56:43 2014, ppisar wrote: Show quoted text
> 'Cascading delete on Ordered has_many works' t/60core.t test fails > with sqlite 3.8.5. This passes with 3.8.4.3:
Highlighted a real issue with the implementation, now fixed by https://github.com/dbsrgits/dbix-class/commit/6890bae793 . Release is still delayed due to unrelated outstanding issues.