[
https://issues.jboss.org/browse/TEIIDDES-866?page=com.atlassian.jira.plug...
]
Steven Hawkins updated TEIIDDES-866:
------------------------------------
Attachment: fk.patch
Here is a patch that corrects the fk getColumnIds method. The base AbstractMetadataRecord
class needed equality changed so that eObject based metadata objects that were returned
through ModelerMetadata would still match the corresponding non-eObject based record. The
patch also adds a missing method in TransformationMetadata. There are plenty of other pit
falls with the designer metadata objects that are not addressed with this patch (for
example the other ColumnSetRecordImpl descendants need a similar fix). Problems only
manifest themselves when we ask for metadata through the QueryMetadataInterface that has
never been asked for before by the engine during resolving and validating (such as the fk
information during inherently updatable view validation).
NPE getting foreign key columns
-------------------------------
Key: TEIIDDES-866
URL:
https://issues.jboss.org/browse/TEIIDDES-866
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 7.3
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Critical
Fix For: 7.3
Attachments: fk.patch
The designer version of ForeignKeyRecordImpl does not determine the columns from the
eObject and will return null, which fails in the TransformationMetadata logic.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira