Bug 1180143 - Flat file import - models in two project folders
Summary: Flat file import - models in two project folders
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.2.0
Assignee: Barry LaFond
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-08 13:35 UTC by Matus Makovy
Modified: 2015-11-17 18:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-17 18:05:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2419 0 Major Closed Flat file import - models in two project folders 2015-09-15 23:08:00 UTC

Description Matus Makovy 2015-01-08 13:35:11 UTC
When importing from Flat file, TD allows user to put models (source and view) in different model project folders.

See screenshots in JIRA

Comment 1 Van Halbert 2015-01-08 14:22:02 UTC
Isn't the real issue that the view model is valid upon creation?  Not that the source and view are in separate folders.  right?

Comment 2 Van Halbert 2015-01-08 14:33:34 UTC
Never mind, I mis-took the projects as folders, and you are correct, we should not allow that on import because it won't (and shouldn't) work.

Comment 3 Barry LaFond 2015-01-08 15:16:00 UTC
This can be a known issue (docs) for 9.0.1. Suggest targeting next patch

Comment 4 JBoss JIRA Server 2015-03-30 19:53:00 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2419 to Resolved

Comment 6 JBoss JIRA Server 2015-05-18 13:20:41 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2419 to Reopened

Comment 7 JBoss JIRA Server 2015-05-18 18:33:20 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2419 to Resolved

Comment 8 Andrej Smigala 2015-05-19 13:45:43 UTC
The check for the same project is done in the following way:

! ( viewModelLocation.segment(0).equalsIgnoreCase(sourceModelLocation.segment(0)) )

However, model project names are case sensitive if the underlying filesystem is case sensitive.

Indeed, creating two projects such as p1 and P1, you can still put the source and view model into two different projects.

Comment 9 JBoss JIRA Server 2015-06-03 07:09:03 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2419 to Closed

Comment 10 Matus Makovy 2015-06-03 07:09:39 UTC
verified TD 9.0.2.Final

Comment 11 JBoss JIRA Server 2015-06-15 11:26:47 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2419 to Reopened

Comment 12 JBoss JIRA Server 2015-06-15 11:26:59 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2419 to Closed


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