CC: | Frank.Biermann [...] gad.de |
MIME-Version: | 1.0 |
X-Spam-Status: | No, score=-4.199 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham |
X-Spam-Flag: | NO |
Content-Type: | multipart/alternative; boundary="=_alternative 004210EAC1257D8E_=" |
Message-ID: | <OF119BD846.5D0250B5-ONC1257D8E.00411991-C1257D8E.004210EC [...] gad.de> |
X-Virus-Scanned: | Debian amavisd-new at bestpractical.com |
X-Spam-Score: | -4.199 |
Received: | from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id EE693240588 for <cpan-bug+DBIx-Class-Schema-Loader [...] hipster.bestpractical.com>; Wed, 12 Nov 2014 07:01:47 -0500 (EST) |
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 5NRfFuOod+Cu for <cpan-bug+DBIx-Class-Schema-Loader [...] hipster.bestpractical.com>; Wed, 12 Nov 2014 07:01:46 -0500 (EST) |
Received: | from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 4EF67240208 for <bug-DBIx-Class-Schema-Loader [...] rt.cpan.org>; Wed, 12 Nov 2014 07:01:45 -0500 (EST) |
Received: | (qmail 2491 invoked by alias); 12 Nov 2014 12:01:45 -0000 |
Received: | from wmail11b.gadmail.de (HELO wmail11b.gadmail.de) (194.149.246.63) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 12 Nov 2014 04:01:42 -0800 |
Received: | from ltgads01.gadeg.de ([10.64.197.16]) by wlpmgw02-inside1.smtp.relay with ESMTP; 12 Nov 2014 13:01:38 +0100 |
X-Keepsent: | 119BD846:5D0250B5-C1257D8E:00411991; type=4; name=$KeepSent |
Delivered-To: | cpan-bug+DBIx-Class-Schema-Loader [...] hipster.bestpractical.com |
Subject: | DBIx::Class::Schema::Loader::DBI::DB2 Class // Getting relationship fail |
Return-Path: | <Frank.Biermann [...] gad.de> |
X-RT-Mail-Extension: | dbix-class-schema-loader |
X-Original-To: | cpan-bug+DBIx-Class-Schema-Loader [...] hipster.bestpractical.com |
X-Spam-Check-BY: | la.mx.develooper.com |
Date: | Wed, 12 Nov 2014 13:01:36 +0100 |
X-Spam-Level: | |
To: | bug-DBIx-Class-Schema-Loader [...] rt.cpan.org |
From: | Frank.Biermann [...] gad.de |
X-RT-Interface: | |
Content-Length: | 0 |
content-type: | text/plain; charset="utf-8" |
X-RT-Original-Encoding: | ascii |
Content-Length: | 591 |
Hello Support Team,
I would like to make the following proposal.
In the function _table_fk_info we should select the fields with rtrim.
Some schema have subsequent blanks and later on key values do not exist in
the object hashref.
=> Searching for relationship will fail.
SELECT tc.constname, sr.reftabschema, sr.reftabname,
kcu.colname, rkcu.colname, kcu.colseq,
sr.deleterule, sr.updaterule
to
SELECT tc.constname, rtrim(sr.reftabschema), sr.reftabname,
kcu.colname, rkcu.colname, kcu.colseq,
sr.deleterule, sr.updaterule
Kind regards
Frank Biermann
content-type: | text/html; charset="utf-8" |
X-RT-Original-Encoding: | ascii |
Content-Length: | 1321 |