]
Ramesh Reddy resolved TEIID-1115.
---------------------------------
Resolution: Done
The jboss-beans.xml still had the old configuration from before the translator into
vdb.xml changes with the version etc. Fixed the xml file for the new scheme.
java.lang.IllegalStateException: Failed to find template for:
translator-file while attempting to call
Admin.getTemplatePropertyDefinitions("file")
----------------------------------------------------------------------------------------------------------------------------------------------------
Key: TEIID-1115
URL:
https://jira.jboss.org/browse/TEIID-1115
Project: Teiid
Issue Type: Bug
Affects Versions: 7.0
Reporter: Barry LaFond
Assignee: Ramesh Reddy
Fix For: 7.0
Trying to access property info for Translators via Designer's hook through Admin
API.
protected void refreshTranslators( Collection<Translator> translators ) throws
Exception {
for (Translator translator : translators) {
Collection<PropertyDefinition> propDefs =
this.admin.getTemplatePropertyDefinitions(translator.getName());
this.translatorByNameMap.put(translator.getName(), new TeiidTranslator(translator,
propDefs, this));
}
}
So when the loop gets to the "file" translator, the
admin.getTemplatePropertyDefinitions("file") ends up logging:
java.lang.IllegalStateException: Failed to find template for: translator-file
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: