Bug 1221297 - Teiid Connection Import fails when model name is set before model location
Summary: Teiid Connection Import fails when model name is set before model location
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Barry LaFond
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-13 16:03 UTC by Andrej Smigala
Modified: 2015-11-17 18:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-17 18:07:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2520 0 Major Closed Teiid Connection Import fails when model name is set before model location 2015-06-15 12:42:27 UTC

Description Andrej Smigala 2015-05-13 16:03:50 UTC
When going through the Teiid Connection Import wizard, setting model name before selecting the model project on the Select the target model for the import page causes the import to fail. This happens when no model project was previously selected.

When a model project is already selected, changing the model project on that page, after setting the model name, causes the new model to be created in the wrong project.

Selecting the model project first and then setting the model name does not cause any of these issues.


Steps to reproduce:

Import fails:
1. create a model project
2. in the Guides view, select Model Teiid Datasource and then Create source model from Teiid data source DDL (do not define Teiid Model Project first)
3. select some datasource on the server (the ExampleDS is ok)
4. click Next twice to get to the Select the target model for the import page
5. the Location should be empty
6. set the Name to something
7. now set the Location to the created model project
8. Click Next twice, the DDL fails to import


Imported model created in wrong folder:
1. create two model projects, ProjectA and ProjectB
2. right-click ProjectA, select Import -> Teiid Connection >> Source Model
3. go through the import as before
4. on the Select the target model for the import page, set the Name to something, then change the Location to ProjectB
5. finish the wizard, the new model is created in ProjectA

Comment 2 JBoss JIRA Server 2015-05-14 16:45:46 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2520 to Resolved

Comment 3 JBoss JIRA Server 2015-05-28 09:37:19 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2520 to Closed

Comment 4 Matus Makovy 2015-05-28 09:37:37 UTC
verified TD 9.0.2.Final

Comment 5 JBoss JIRA Server 2015-06-15 12:20:05 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2520 to Reopened

Comment 6 JBoss JIRA Server 2015-06-15 12:20:15 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2520 to Closed


Note You need to log in before you can comment on or make changes to this bug.