Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317792

Summary: [Composite Structure Diagram] CollaborationRole should be deleted from model and diagram
Product: [Modeling] Papyrus Reporter: abderraouf <abderraouf.benyahia>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description abderraouf CLA 2010-06-24 05:29:35 EDT
Build Identifier: 20100603-0907

CollaborationRole should be deleted form the diagram when you select delete from model from the diagram. 

A NullPointerExecption is Generated 

Reproducible: Always

Steps to Reproduce:
1. Create A CollaborationRole and select a ConnectableElement
2. Right Click in the diagram on the CollaborationRole and select Delete from model
3. Select again Delete from model
4. NullPointerExecption is generated
Comment 1 Yann Tanguy CLA 2010-06-25 05:39:13 EDT
Not really, the ConnectableElement shall not be deleted from model, only its reference in the Collaboration shall be removed.

*** This bug has been marked as a duplicate of bug 316751 ***