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 133781 - Incoming/Outgoing Internal Transitions are still showing Unnamed after renamed
Summary: Incoming/Outgoing Internal Transitions are still showing Unnamed after renamed
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram State (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 17:16 UTC by Peter Lam
Modified: 2008-05-29 19:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-04-23 17:16:29 UTC
build 20080422

- create a state diagram
- DnD a simple state element to the diagram
- right click on the element and select Show Events and Transitions
- right click on the element and select Events and Transitions->Insert Incoming (or Outgoing) Internal Transition
Result: an Incoming (Outgoing) Internal Transition is inserted
- rename the internal transition and press Enter key
Result: the internal transition is still displayed as Unnamed but it's really already renamed since getting in the edit
mode will show the actual name
- at this point, if another internal transition is inserted, the internal transition renamed in the last step will be
displayed with the correct name. Then, renaming the newly inserted internal transition will result in the same situation
where Unnamed is displayed.
Comment 1 Peter Lam 2008-04-23 17:32:31 UTC
A correction to the original scenario since the problem seems to occur on the simple state element created by selecting
the State Transition from the simple state element.

- create a state diagram
- DnD a simple state element to the diagram
- select the simple state element from the diagram and select the State Transition from the context palette to an empty
diagram area to create a 2nd simple state element
Note: the following steps apply to the 2nd simple state element
- right click on the element and select Show Events and Transitions
- right click on the element and select Events and Transitions->Insert Incoming (or Outgoing) Internal Transition
Result: an Incoming (Outgoing) Internal Transition is inserted
- rename the internal transition and press Enter key
Result: the internal transition is still displayed as Unnamed but it's really already renamed since getting in the edit
mode will show the actual name
- at this point, if another internal transition is inserted, the internal transition renamed in the last step will be
displayed with the correct name. Then, renaming the newly inserted internal transition will result in the same situation
where Unnamed is displayed.
Comment 2 Yang Su 2008-04-23 18:25:15 UTC
A valid bug caused by initialization issue in creating a default simple state widget through context menu.
Comment 3 Yang Su 2008-05-22 21:57:44 UTC
It was fixed three weeks ago.
Comment 4 Peter Lam 2008-05-29 19:03:20 UTC
verified in build 20080528.