Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311002 - [SysML] Should not make silent profile application during creation
Summary: [SysML] Should not make silent profile application during creation
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.7.0   Edit
Assignee: Emilien Perico CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 297816
  Show dependency tree
 
Reported: 2010-04-29 07:45 EDT by Yann Tanguy CLA
Modified: 2013-04-02 12:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2010-04-29 07:45:12 EDT
It is a good thing to ensure that the model is in consistent state before diagram creation (here verifying the expected SysML model are applied) but in case the prerequisites are not met, the creation should not be performed. Additionally making silent changes in the model is not a good thing, the diagram creation command should not decide to make profile application.

The user should always be asked before profile application he has not decided, and he should be able to select where the profile is applied.

Applying UML2 profiles on packages other than root makes model a bit more difficult to migrate when profile version changes. This option should also be considered as a simplification for diagram creation condition testing.
Comment 1 Remi Schnekenburger CLA 2010-06-09 11:00:09 EDT
It seems that the diagram can not be created if the correct profiles are applied.
Am I right?

Set target milestone to 0.7.0
Comment 2 Camille Letavernier CLA 2013-04-02 12:59:36 EDT
In the current version, the Create Diagram and Create Table actions are disabled if the corresponding SysML profile is not applied. I close this task