[
https://issues.jboss.org/browse/TEIIDDES-2134?page=com.atlassian.jira.plu...
]
Lucie Fabrikova commented on TEIIDDES-2134:
-------------------------------------------
In the VdbModelEntry.synchronizeModelEntry( final IProgressMonitor monitor ), there is
if-condition which is evaluated to true only if the translator cell in vdb editor (Source
binding tab, Translator name) is empty:
[672] if (ModelUtil.isPhysical(model)) {
...
[677] String translatorName = this.sourceInfo.getSource(0).getTranslatorName();
if (CoreStringUtil.isEmpty(translatorName){ ...
//if I understand correctly, the translator is set for the model entry here
}
Proposed fix for the translator:
- evaluate the helper.getTranslatorName(mr) -- if it is not null and not empty, then
perform the body of if-condition too
Changing connection profile of a source model does not update the
translator in importing VDB
---------------------------------------------------------------------------------------------
Key: TEIIDDES-2134
URL:
https://issues.jboss.org/browse/TEIIDDES-2134
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 8.3
Reporter: Andrej Šmigala
Steps to reproduce:
# Import a source model
# Create a new VDB and add the source model to it
# Set connection profile to a different db (with different translator)
# Synchronize the model in the VDB
The translator and JNDI name are not updated in the VDB.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira