[JBoss JIRA] (TEIIDDES-3026) Name in source not included when doing preview
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3026?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-3026:
--------------------------------------
Assignee: Barry LaFond
> Name in source not included when doing preview
> ----------------------------------------------
>
> Key: TEIIDDES-3026
> URL: https://issues.jboss.org/browse/TEIIDDES-3026
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.0.1
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Blocker
> Attachments: project.zip
>
>
> Prieview VDB doesn't include name in source for column. When you try to do a preview for SHIP_VIA table from partsSourceSQLServer model that is in attached project, the generated dynamic VDB looks like this:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <vdb name="PREVIEW-21b09376-8753-42ac-a874-34d47820fc30" version="1">
> <description>Importer VDB</description>
> <property name="UseConnectorMetadata" value="true" />
> <property name="deployment-name" value="PREVIEW-21b09376-8753-42ac-a874-34d47820fc30-vdb.xml" />
> <model name="partsSourceSQLServer" type="PHYSICAL" visible="true">
> <source name="partsSourceSQLServer" translator-name="sqlserver" connection-jndi-name="java:/partsSourceSQLServer" />
> <metadata type="DDL"><![CDATA[
> CREATE FOREIGN TABLE SHIP_VIA (
> SHIPPER_ID bigdecimal NOT NULL OPTIONS(FIXED_LENGTH 'TRUE'),
> SHIPPER_NAME string(30),
> AVERAGE_TIME_DELIVERY bigdecimal OPTIONS(FIXED_LENGTH 'TRUE'),
> CONSTRAINT PK_SHIP_VIA PRIMARY KEY(SHIPPER_ID)
> ) OPTIONS(UPDATABLE 'TRUE');
> ]]></metadata>
> </model>
> </vdb>
> {code}
> It is missing name in source for AVERAGE_TIME_DELIVERY (which is "AVERAGE TIME DELIVERY" at it is defined in the XMI model). Preview cannot be done.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3027:
-----------------------------------
Fix Version/s: 11.0.1
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
> Assignee: Barry LaFond
> Fix For: 11.0.1
>
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-3027:
--------------------------------------
Assignee: Barry LaFond
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
> Assignee: Barry LaFond
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by stanislav kaleta (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
stanislav kaleta edited comment on TEIIDDES-3027 at 2/1/17 10:22 AM:
---------------------------------------------------------------------
[~blafond] it happens to me on Windows, Linux and also Mac. No spaces in folders name.
To reproduce this you need to add models +separately+ (in New VDB dialog: add View Model, then add Source Model) and +View Model first+. (surprisingly, it works if you add both models at the same time or Source Model first)
was (Author: skaleta):
[~blafond] it happens to me on Windows, Linux and also Mac.
To reproduce this you need to add models +separately+ (in New VDB dialog: add View Model, then add Source Model) and +View Model first+. (surprisingly, it works if you add both models at the same time or Source Model first)
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by stanislav kaleta (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
stanislav kaleta updated TEIIDDES-3027:
---------------------------------------
Steps to Reproduce:
# 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)
was:
# 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)
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by stanislav kaleta (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
stanislav kaleta updated TEIIDDES-3027:
---------------------------------------
Steps to Reproduce:
# 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)
was:
# 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+, click Finish
# VDB is created, VDB editor is opened with pending changes (getting error if you try to save it)
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by stanislav kaleta (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
stanislav kaleta edited comment on TEIIDDES-3027 at 2/1/17 10:16 AM:
---------------------------------------------------------------------
[~blafond] it definitely worked in previous versions. I have an older test which selects View Model, then right-click/new Teiid VDB and then adds also Source Model in New VDB dialog (View Model is already there, cuz selected) and this worked well before.
was (Author: skaleta):
[~blafond] it definitely worked in previous versions
I have an older test which selects View Model, then right-click/new Teiid VDB and then adds also Source Model in New VDB dialog (View Model is already there, cuz selected) and this worked well before.
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by stanislav kaleta (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
stanislav kaleta edited comment on TEIIDDES-3027 at 2/1/17 10:15 AM:
---------------------------------------------------------------------
[~blafond] it definitely worked in previous versions
I have an older test which selects View Model, then right-click/new Teiid VDB and then adds also Source Model in New VDB dialog (View Model is already there, cuz selected) and this worked well before.
was (Author: skaleta):
[~blafond] it definitely worked in previous versions, because I have an older test which selects View Model, then right-click/new Teiid VDB and then adds also Source Model in New VDB dialog (View Model is already there, cuz selected)
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (TEIIDDES-3027) Duplicate Source Model in created VDB
by stanislav kaleta (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3027?page=com.atlassian.jira.plu... ]
stanislav kaleta edited comment on TEIIDDES-3027 at 2/1/17 10:15 AM:
---------------------------------------------------------------------
[~blafond] it definitely worked in previous versions, because I have an older test which selects View Model, then right-click/new Teiid VDB and then adds also Source Model in New VDB dialog (View Model is already there, cuz selected)
was (Author: skaleta):
[~blafond] it definitely worked in previous versions, because I have an older test which it selects View Model, then right-click/new Teiid VDB and then adds also Source Model in New VDB dialog (View Model is already there, cuz selected)
> Duplicate Source Model in created VDB
> -------------------------------------
>
> Key: TEIIDDES-3027
> URL: https://issues.jboss.org/browse/TEIIDDES-3027
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs, Editors
> Affects Versions: 11.0.1
> Reporter: stanislav kaleta
>
> 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:
> {code:java}
> java.lang.Exception: java.util.zip.ZipException: duplicate entry: <SourceModelName>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months