Bug 485009 - "Remove Model" action should not be enabled
Summary: "Remove Model" action should not be enabled
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard: regression
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-12-30 05:39 EST by Esteban DUGUEPEROUX CLA
Modified: 2015-12-30 05:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteban DUGUEPEROUX CLA 2015-12-30 05:39:30 EST
Scenario to reproduce with EcoreTools :

1. Create a Modeling Project named MP1
2. Add a semantic resource MP1.ecore and select Design viewpoint
3. Create a Class Diagram 
4. Create a Modeling Project named MP2
5. Add a semantic resource MP2.ecore containing MP2EClass and select Design viewpoint
6. From MP1 Add MP2.ecore as semantic resource through "Add Model" contextual action on "Project Dependencies"
7. Drag'n drop MP2EClass from "Project Dependencies" tree to diagram to have a view displayed for MP2EClass
8. Now try to remove the MP2.ecore dependencies through "Remove Model" contextual action => KO the action is enabled but should not as its content is yet referenced by other content.
9. Save, close and reopens the MP1 Modeling Project => the session is dirty and the MP2.ecore dependencies is yet here.

This is a regression it was working before Sirius.
Comment 1 Esteban DUGUEPEROUX CLA 2015-12-30 05:39:56 EST
Triaged and marked as regression.