Skip Menu |
 

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

Report information
The Basics
Id: 32655
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: astra_here [...] yahoo.com
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Ymail-Osg: X6W5v4cVM1nPp4RWU0LBc0wehnUTNDVBXIqqWVE6zy0vGu3u3n1fw4Qn1XjVklCkvPDob9NIlMHBhOXDOUlwhOC_FpBNd6sp6X_NQyF0YL9C0lqGmso-
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DK_POLICY_TESTING,DK_SIGNED,DK_VERIFIED,HTML_MESSAGE
X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.160
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Content-Type: multipart/alternative; boundary="0-83923531-1201291059=:93830"
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 451484D80F9 for <bug-DBIx-Class [...] rt.cpan.org>; Fri, 25 Jan 2008 14:57:50 -0500 (EST)
Received: (qmail 13496 invoked from network); 25 Jan 2008 19:57:49 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 25 Jan 2008 19:57:49 -0000
Received: from web57605.mail.re1.yahoo.com (HELO web57605.mail.re1.yahoo.com) (66.196.100.87) by 16.mx.develooper.com (qpsmtpd/0.40-dev) with SMTP; Fri, 25 Jan 2008 11:57:43 -0800
Received: (qmail 94268 invoked by uid 60001); 25 Jan 2008 19:57:40 -0000
Received: from [148.87.1.167] by web57605.mail.re1.yahoo.com via HTTP; Fri, 25 Jan 2008 11:57:39 PST
Delivered-To: cpan-bug+DBIx-Class [...] diesel.bestpractical.com
Subject: Error messages thrown are not complete
Return-Path: <astra_here [...] yahoo.com>
Domainkey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Eq4ETXSLoIJQCHedIQd3cpcEX/FoKih5e+T/CQwluA56bYi2FvyxmtDh9Y5Wz0DXjvAd660uxj+8tY8uJ3Dgx1eX8pYTmHzCtFvqn5d4U2uqScOv8CuJu8vyMf7gpEr59YEBuPmXcI9e7t28+9UVtWmWiyVZZ6P3bVGFoCAj+vE=;
X-Original-To: bug-DBIx-Class [...] rt.cpan.org
X-Spam-Check-BY: 16.mx.develooper.com
Date: Fri, 25 Jan 2008 11:57:39 -0800 (PST)
X-Spam-Level: *
Message-Id: <515552.93830.qm [...] web57605.mail.re1.yahoo.com>
To: bug-DBIx-Class [...] rt.cpan.org
From: sowmya swaminathan <astra_here [...] yahoo.com>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Content-Length: 1754
Download (untitled) / with headers
text/plain 1.7k
Hi, We upgraded DBIx-Class from 0.07002 to the latest version, 0.08008 and found that the error messages thrown don't provide complete info when connect/insert/update fails. This is the code and this will fail because of unique constraint violation: my $user = $db->resultset('User')->create({id => 'slj', email => 'slj@yahoo.com'}); Error message thrown by latest version of DBIx-Class: ===================================== Can't call method "resolve" on an undefined value at /usr/local/perl/new_lib//DBIx/Class/Row.pm line 707. Error message thrown by Version 0.07002 of DBIx-Class: ======================================= DBD::ODBC::st execute failed: [unixODBC][TimesTen][TimesTen 7.0.1.0.0 ODBC Driver][TimesTen]TT0907: Unique constraint (TTUNIQUE_34) violated at Rowid <0x018d19ac> -- file "ttree.c", lineno 4077, procedure "sbTtInsert" (SQL-23000)(DBD: st_execute/SQLExecute err=-1) at /usr/local/perl/5.8.7/lib/DBIx/Class/Storage/DBI.pm line 771. DBIx::Class::PK::Auto::insert(): Error executing 'INSERT INTO users (email, id) VALUES (?, ?, ?, ?)': [unixODBC][TimesTen][TimesTen 7.0.1.0.0 ODBC Driver][TimesTen]TT0907: Unique constraint (TTUNIQUE_34) violated at Rowid <0x018d19ac> -- file "ttree.c", lineno 4077, procedure "sbTtInsert" (SQL-23000)(DBD: st_execute/SQLExecute err=-1) at ../Local/User.pm line 298 DBIx-Class version used: 0.08008 Perl version: 5.8.7 Operating system: Linux, Red Hat Enterprise Linux AS release 3, 2.4.21-37.0.0.4.ELhugemem, i686 Could someone provide a solution to this issue? Thanks, Libitha Show quoted text
____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
content-type: text/html; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Content-Length: 2089
MIME-Version: 1.0
In-Reply-To: <515552.93830.qm [...] web57605.mail.re1.yahoo.com>
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
References: <515552.93830.qm [...] web57605.mail.re1.yahoo.com>
Message-Id: <rt-3.6.HEAD-5486-1212007794-1597.32655-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 32
Post to the mailing list please.


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.