Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331328 - [Element Edit Service] Destroy ConnectorEnd (Connector) when its role / partWithPort references becomes invalid
Summary: [Element Edit Service] Destroy ConnectorEnd (Connector) when its role / partW...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 324966
  Show dependency tree
 
Reported: 2010-11-29 07:04 EST by Yann Tanguy CLA
Modified: 2010-11-29 07:13 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 Yann Tanguy CLA 2010-11-29 07:04:43 EST
Deleting a Port, Property or modifying a Property type can cause related Connector to become invalid.
In such a case the related connector should be deleted.
Comment 1 Yann Tanguy CLA 2010-11-29 07:13:54 EST
In r3380:

- ConnectorEnd deletion -> deletes Connector if it has less then 2 ends
- Property / Port deletion -> deletes ConnectorEnd referencing the deleted element as role or partWithPort
- Property type modification -> deleted ConnectorEnd referencing the modified Property as partWithPort (except if the role is still valid with the new type)