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

Bug 311703

Summary: Its possible to create duplicate artifacts in class diagram
Product: [Technology] Tigerstripe Reporter: Duncan Keysell <dkeysell>
Component: DiagramsAssignee: Project Inbox <tigerstripe.diagram-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chrhartl, erdillon
Version: 0.5   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Duncan Keysell CLA 2010-05-05 07:37:18 EDT
Follow these steps:

Create class diagram.
Add Entity1 to class diagram
Add Entity2 to class diagram
Rename Entity2 to "Entity1 ". Not the extra whitespace character at the end.

This results in the class diagram containing two artifacts called "Entity1" but in the explorer you still Entity1 and Entity2.
Comment 1 Chris Hartley CLA 2010-05-05 21:00:57 EDT
Rename should not allow whitespace
Comment 2 Eric Dillon CLA 2010-05-13 18:50:39 EDT
There was an extra "trim()" on the string that was triggering this faulty behavior. Now the value is rejected.