Skip Menu |

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

People
Owner: Nobody in particular
Requestors: Frank.Biermann [...] gad.de
Cc:
AdminCc:

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



CC: Frank.Biermann [...] gad.de
Subject: DBIx::Class::Schema::Loader::DBI::DB2 Class // Getting relationship fail
Date: Wed, 12 Nov 2014 13:01:36 +0100
To: bug-DBIx-Class-Schema-Loader [...] rt.cpan.org
From: Frank.Biermann [...] gad.de
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