This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 114148

Summary: modifying stereotype for sequence diagram elements results in duplicate stereotypes
Product: uml Reporter: Peter Lam <petersl>
Component: Diagram SequenceAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Peter Lam 2007-08-29 17:50:56 UTC
in build 070828

Repro steps:
- create a sequence diagram
- create and name a lifeline
- select the lifeline
- from the properties editor, click on Stereotypes entry to bring up the Stereotype editor
- click on Add button and type in a stereotype name, then press Enter, and click OK to close the Stereotype editor
- before doing anything else, from the properties editor, click on Stereotypes entry to bring up the Stereotype editor again
- click on the stereotype and type in some changes to the original stereotype and press Enter, click OK
Result: now the Stereotypes line on the properties editor shows 2 stereotypes separated by comma for the original and
modified stereotypes. If repeating the last steps to modify the stereotype again, another stereotype is duplicated.
There's still only one stereotype is listed in the Stereotype editor.
- click on an empty diagram area and select the same lifeline again
- from the properties editor, click on Stereotypes entry to bring up the Stereotype editor
Result: now Stereotype editor shows the multiple stereotypes one on each line
Comment 1 Peter Lam 2008-06-17 19:16:17 UTC
still exists in 6.5.
Comment 2 Sergey Petrov 2008-11-18 10:10:08 UTC
*** Issue 124409 has been marked as a duplicate of this issue. ***