]
Matus Makovy closed TEIIDDES-2396.
----------------------------------
verified TD 9.0.1.Final
Similar issues occured when renaming models in folders inside project -> TEIIDDES-2434
Renaming a source model does not fullly update import statements to
view models
-------------------------------------------------------------------------------
Key: TEIIDDES-2396
URL:
https://issues.jboss.org/browse/TEIIDDES-2396
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 8.6
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 9.0, 8.6.1, 9.0.1
# Create Source model with table (SourceModel and ViewModel)
# Create View model from source model (create transform option)
# Save all and close editors
# Select source model and Refactor > Rename... the it to "SourceModel_XXX"
On Linux, the refactoring will be successful EXCEPT for the <modelImports> element
holding the reference to the SourceModel. The "name" attribute is *NOT* getting
updated, even though the *modelLocation* is changed correctly. Note that the *name*
attribute is basically the model name *without* the *.xmi* extension.
I it appears we're missing a little step that replaces the model name *without* file
extension with the new model name.