Bug 1080032

Summary: Teiid connection import throws "java.lang.IllegalArgumentException: The supplied model folder refers to an existing non-model project" on Windows
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Lucie Fabrikova <lfabriko>
Component: ToolingAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: dlesage, fnguyen, lfabriko, mmakovy, vhalbert
Target Milestone: ER1   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
On Microsoft Windows, if the user clicked Import- Teiid designer - Teiid connection - source model - next, an exception occurred. This was because the DDL importer used the same method on both Windows and Linux. The TeiidImportManager has been modified so that it determines the target container path in the same way as the DdlImporterPage. As a result, users can now use this importer without encountering exceptions.
Story Points: ---
Clone Of: Environment:
Windows XP, 7 JBDSIS 7.0.1.CR1
Last Closed: 2015-11-17 18:05:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lucie Fabrikova 2014-03-24 14:44:56 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Import-> Teiid designer -> Teiid connection >> source model
2.click Next
3.

Actual results:
Next button doesn't move to next page of wizard on Windows (both 7, XP), but throws following exception in error log:

java.lang.IllegalArgumentException: The supplied model folder refers to an existing non-model project.
at org.teiid.designer.ddl.importer.DdlImporter.setModelFolder(DdlImporter.java:344)
at org.teiid.designer.teiidimporter.ui.wizard.TeiidImportManager.setTargetModelLocation(TeiidImportManager.java:433)
at org.teiid.designer.teiidimporter.ui.wizard.TeiidImportWizard.init(TeiidImportWizard.java:134)
at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:185)
at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)
at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSel
...

Expected results:


Additional info:

Comment 2 JBoss JIRA Server 2014-05-06 16:30:54 UTC
Mark Drilling <mdrilling> updated the status of jira TEIIDDES-2089 to Resolved

Comment 3 JBoss JIRA Server 2014-05-30 23:38:25 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIIDDES-2089 to Reopened

Comment 4 JBoss JIRA Server 2014-06-02 12:36:38 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2089 to Resolved

Comment 5 JBoss JIRA Server 2014-06-20 12:15:25 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2089 to Closed

Comment 6 Matus Makovy 2014-09-01 08:51:54 UTC
verified on TD 8.3.4.CR1