Skip Menu | will be shut down on March 1st, 2021.

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

Report information
The Basics
Id: 100287
Status: new
Priority: 0/
Queue: DBIx-Class-Schema-Loader

Owner: Nobody in particular
Requestors: Frank.Biermann [...]

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

CC: Frank.Biermann [...]
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 [...]>
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -4.199
Received: from localhost (localhost []) by (Postfix) with ESMTP id EE693240588 for <cpan-bug+DBIx-Class-Schema-Loader [...]>; Wed, 12 Nov 2014 07:01:47 -0500 (EST)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 5NRfFuOod+Cu for <cpan-bug+DBIx-Class-Schema-Loader [...]>; Wed, 12 Nov 2014 07:01:46 -0500 (EST)
Received: from ( []) by (Postfix) with SMTP id 4EF67240208 for <bug-DBIx-Class-Schema-Loader [...]>; Wed, 12 Nov 2014 07:01:45 -0500 (EST)
Received: (qmail 2491 invoked by alias); 12 Nov 2014 12:01:45 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Wed, 12 Nov 2014 04:01:42 -0800
Received: from ([]) 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 [...]
Subject: DBIx::Class::Schema::Loader::DBI::DB2 Class // Getting relationship fail
Return-Path: <Frank.Biermann [...]>
X-RT-Mail-Extension: dbix-class-schema-loader
X-Original-To: cpan-bug+DBIx-Class-Schema-Loader [...]
Date: Wed, 12 Nov 2014 13:01:36 +0100
To: bug-DBIx-Class-Schema-Loader [...]
From: Frank.Biermann [...]
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ascii
Content-Length: 591
Download (untitled) / with headers
text/plain 591b
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

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to