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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-11187-1403002603-1420.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1015
Download (untitled) / with headers
text/plain 1015b
'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).
MIME-Version: 1.0
X-Spam-Status: No, score=-2.997 tagged_above=-99.9 required=10 tests=[AWL=0.903, BAYES_00=-1.9, FROM_OUR_RT=-2] autolearn=ham
In-Reply-To: <rt-4.0.18-11187-1403002604-82.96499-4-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-96499 [...] rt.cpan.org> <rt-4.0.18-11187-1403002604-82.96499-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20140617115237.GA13496 [...] rabbit.us>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -2.997
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 585D22409C8 for <cpan-bug+DBIx-Class [...] hipster.bestpractical.com>; Tue, 17 Jun 2014 07:52:56 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DydjhV3eCZgQ for <cpan-bug+DBIx-Class [...] hipster.bestpractical.com>; Tue, 17 Jun 2014 07:52:51 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 81CDF240980 for <bug-DBIx-Class [...] rt.cpan.org>; Tue, 17 Jun 2014 07:52:51 -0400 (EDT)
Received: (qmail 11237 invoked by alias); 17 Jun 2014 11:52:49 -0000
Received: from mujunyku.leporine.io (HELO mujunyku.leporine.io) (113.212.96.195) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 17 Jun 2014 04:52:44 -0700
Received: by mujunyku.leporine.io (Postfix, from userid 1000) id 1F202268167; Tue, 17 Jun 2014 11:52:38 +0000 (UTC)
Delivered-To: cpan-bug+DBIx-Class [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #96499] 'Cascading delete on Ordered has_many works' t/60core.t test fails with sqlite 3.8.5
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <rabbit [...] rabbit.us>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+DBIx-Class [...] hipster.bestpractical.com
X-RT-Mail-Extension: dbix-class
Date: Tue, 17 Jun 2014 11:52:37 +0000
X-Spam-Level:
To: Petr Pisar via RT <bug-DBIx-Class [...] rt.cpan.org>
From: Peter Rabbitson <ribasushi [...] cpan.org>
RT-Message-ID: <rt-4.0.18-5086-1403005977-248.96499-0-0 [...] rt.cpan.org>
Content-Length: 1716
Download (untitled) / with headers
text/plain 1.6k
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.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-11187-1403002603-1420.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-11187-1403002603-1420.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-13591-1403028241-853.96499-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 343
Download (untitled) / with headers
text/plain 343b
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.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-11187-1403002603-1420.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-11187-1403002603-1420.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-6343-1412888631-1287.96499-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 107
Download (untitled) / with headers
text/plain 107b


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.