Bug 1223289

Summary: Generate REST Virtual Procedure allows selecting a source model as the target
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Andrej Smigala <asmigala>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED CURRENTRELEASE QA Contact: Andrej Smigala <asmigala>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: mmakovy, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 18:06:48 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-05-20 09:23:54 UTC
The Generate REST Virtual Procedures dialog allows setting the Name of the View Model Definition to an existing source model (which might even be the same model that is being transformed). Confirming the dialog turns the selected Source model into a View model, with no way to go back.

Steps to reproduce:
# create a source model SourceModel with at least one table in it
# right-click the model, select Modeling -> Generate REST Virtual Procedures
# set the Location and Name to the SourceModel
# select the table, click OK

Comment 2 JBoss JIRA Server 2015-05-20 13:49:31 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2538 to Resolved

Comment 3 JBoss JIRA Server 2015-06-01 12:00:49 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2538 to Reopened

Comment 4 JBoss JIRA Server 2015-07-16 18:56:52 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2538 to Resolved

Comment 5 JBoss JIRA Server 2015-08-03 08:26:27 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2538 to Closed

Comment 6 JBoss JIRA Server 2015-10-05 18:43:52 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2538 to Reopened

Comment 7 Andrej Smigala 2015-10-05 18:44:52 UTC
Turns out it is still possible to break the source model, when the name is entered with the .xmi extension.

Comment 8 JBoss JIRA Server 2015-10-05 19:05:53 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2538 to Resolved

Comment 9 JBoss JIRA Server 2015-10-20 06:39:47 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2538 to Closed