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

Duplicate Source Model in created VDB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.1
    • 11.0.1
    • Dialogs, Editors
    • None
    • Hide
      1. prepare a View Model and related Source Model
      2. right-click Project, select New/Teiid VDB
      3. set name of VDB, select the View Model and related Source Model (separately and respectively), click Finish
      4. VDB is created, VDB editor is opened with pending changes (getting error if you try to save it)
      Show
      prepare a View Model and related Source Model right-click Project, select New/Teiid VDB set name of VDB, select the View Model and related Source Model ( separately and respectively ), click Finish VDB is created, VDB editor is opened with pending changes (getting error if you try to save it)

      If you select both View Model and related Source Model in New VDB dialog, created VDB has pending changes and is unable to save due to error:

       java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
      

      Related Source Models are automatically added during creation of VDB. The Problem occurs when you also manually add Source Model in New VDB dialog. The creation process doesn't recognize that it's the same model which is related to View Model.

            blafond Barry LaFond
            skaleta@redhat.com Stanislav Kaleta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: