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

Duplicate Source Model in created VDB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 11.0.1
    • Fix Version/s: 11.0.1
    • Component/s: Dialogs, Editors
    • Labels:
      None
    • Steps to Reproduce:
      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)

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                blafond Barry LaFond
                Reporter:
                skaleta Stanislav Kaleta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: