Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2396

Renaming a source model does not fullly update import statements to view models

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0, 8.6.1, 9.0.1
    • 8.6
    • Modeling
    • None

      1. Create Source model with table (SourceModel and ViewModel)
      2. Create View model from source model (create transform option)
      3. Save all and close editors
      4. 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.

            blafond Barry LaFond
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: