Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1250620

Summary: Model refactoring: view model is missing imports after moving into or out of folder
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Andrej Smigala <asmigala>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED CURRENTRELEASE QA Contact: Andrej Smigala <asmigala>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: atangrin, dlesage, drieden, mmakovy, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When the user moves a view model into a directory from the project root or vice versa, the model imports are not updated correctly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 18:08:20 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 Andrej Smigala 2015-08-05 15:07:43 UTC
When moving a view model into a folder from the project root or vice versa, the model imports are not updated correctly


Moving into folder:
1. import the attached project
2. right click ViewModel1 -> Refactor -> Move, select the views folder
3. notice Missing model import... in the problems view
4.  right-click the model, select Modeling -> Update Imports, the error goes away

Moving out of folder:
1. import the attached project
2.  right click ViewModel2 -> Refactor -> Move, select the root of the project
3.  notice Missing model import... in the problems view
4.  right-click the model, select Modeling -> Update Imports, the error goes away

Comment 2 Barry LaFond 2015-08-10 13:07:07 UTC
Push to 9.0.4 release

Comment 3 JBoss JIRA Server 2015-09-02 13:43:00 UTC
Mark Drilling <mdrilling> updated the status of jira TEIIDDES-2604 to Resolved

Comment 4 JBoss JIRA Server 2015-10-02 09:49:56 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2604 to Closed