Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318977 - [Communication Diagram] Duplicate ID with Sequence Diagram
Summary: [Communication Diagram] Duplicate ID with Sequence Diagram
Status: RESOLVED 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: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 318702
  Show dependency tree
 
Reported: 2010-07-06 04:53 EDT by Thibault Landré CLA
Modified: 2010-07-29 09:30 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 Thibault Landré CLA 2010-07-06 04:53:45 EDT
The communication diagram uses the same ids as the sequence diagram which causes many errors in both diagrams. 

ID uses in the communication diagram should be modified.
Comment 1 Patrick Tessier CLA 2010-07-06 06:04:39 EDT
I do not understand how diagram that contains same ID can have influence between them.

for example use case class composite share same visual id and there is no problem.

Do you share same factories or providers?
Comment 2 Thibault Landré CLA 2010-07-06 06:08:22 EDT
It causes errors with the UMLViewProvider and the palette for instance. 
See 318702 where the palette no more create a sequence lifeline but a communication lifeline which is not enabled on the sequence diagram
Comment 3 saadia dhouib CLA 2010-07-27 03:02:14 EDT
Visual IDs are not the origin of lifeline creation problem. The problem comes from the ID of the lifeline tool Entry in the palette. The two entries share the same identidy "createLifeline1CreationTool". In fact,  A proxy for a palette factory that instantiates the real factory on demand (when a palette entry is selcted), is based on the ID of the tool entry. So it can instantiate a sequence diagram palette factory for a communication lifeline and vice versa !!
I have modified the id of the communication lifeline entry and now we can create lifelines in both diagrams.
Comment 4 Vincent Lorenzo CLA 2010-07-27 03:08:52 EDT
Done in r2493 for Branch 0.7.x

The Lifeline Palette Tool Entry name is changed to createLifelineComCreationTool. The name was createLifeline1CreationTool, which is the same name of the lifeline palette tool entry in the sequence diagram. That was the origin of the conflict problem between the two diagrams when creating lifeline.

S. Dhouib Contribution
Comment 5 Vincent Lorenzo CLA 2010-07-29 09:30:54 EDT
Done in r2504 for the Head Branch.
Contributed by S. Dhouib