Bug 348542 - [All Diagrams] Re-target a comment or constraint link does not remove inconsistent occurrence
Summary: [All Diagrams] Re-target a comment or constraint link does not remove inconsi...
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 08:07 EDT by Yann Tanguy CLA
Modified: 2017-09-08 09:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2011-06-07 08:07:35 EDT
Such link cannot be created twice, meaning that if the element is already in the feature list (ex: annotated elements) the link cannot be created, but with re-orient it is possible to obtain a situation where several occurrence exists (it should be possible due to multi-diagram anyway).

In such a case, destroy the link, re-orienting, or modifying the related feature in preferences should result in the destruction of all inconsistent links.
Comment 1 Ansgar Radermacher CLA 2013-03-27 11:25:15 EDT
It is still possible to create inconsistencies between graphic and model in current 0.10.X version. Behavior is not specific to SysML and can be produced with a class diagram as well.

Steps to reproduce
- Create a comment and two classes. Add a link from the comment to each class => annotated elements list contains both classes
- Now re-target one of the links to the first class => annotated elements list contains only the first class
- Now undo the re-target the targeting one of the links to the 2nd class again => diagram shows two links, but annotated elements list contains only the 2nd class.