Bug 1250620 - Model refactoring: view model is missing imports after moving into or out of folder
Summary: Model refactoring: view model is missing imports after moving into or out of ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Barry LaFond
QA Contact: Andrej Smigala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 15:07 UTC by Andrej Smigala
Modified: 2015-11-17 18:08 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-11-17 18:08:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2604 0 Minor Closed Model refactoring: view model is missing imports after moving into or out of folder 2016-08-09 05:30:27 UTC

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


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