Author: rareddy
Date: 2010-09-24 14:27:41 -0400 (Fri, 24 Sep 2010)
New Revision: 2601
Modified:
branches/7.1.x/engine/src/main/java/org/teiid/query/metadata/TransformationMetadata.java
Log:
TEIID-1275: fixing the code to get model-id correctly from element symbols.
Modified:
branches/7.1.x/engine/src/main/java/org/teiid/query/metadata/TransformationMetadata.java
===================================================================
---
branches/7.1.x/engine/src/main/java/org/teiid/query/metadata/TransformationMetadata.java 2010-09-24
18:16:49 UTC (rev 2600)
+++
branches/7.1.x/engine/src/main/java/org/teiid/query/metadata/TransformationMetadata.java 2010-09-24
18:27:41 UTC (rev 2601)
@@ -220,7 +220,7 @@
if (parent == null) {
throw createInvalidRecordTypeException(groupOrElementID);
}
- parent = metadataRecord.getParent();
+ parent = parent.getParent();
if (parent instanceof Schema) {
return parent;
}
Show replies by date