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 115587 - RE Operation: same operation appears on incorrect messages
Summary: RE Operation: same operation appears on incorrect messages
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Sequence (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Kris Richards
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-09-14 17:08 UTC by Peter Lam
Modified: 2007-09-18 21:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sequence diagram (17.93 KB, image/png)
2007-09-14 17:09 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2007-09-14 17:08:53 UTC
This is a regression in the recent build.

Repro steps:
(1) create java project
(2) add class with following method

    void issue02() {
        Integer i = new Integer(1) ;
        int max = i.parseInt("94");
    }

(3) RE Project
(4) RE issue02 method and create sqd.

result: msg is sent both connectors of the synchronous msg. (see attached)

this is more ugly than wrong. It is somehow related to the option being set to show the operation name. It now shows it
everywhere.
Comment 1 Peter Lam 2007-09-14 17:09:29 UTC
Created attachment 48855 [details]
sequence diagram
Comment 2 Kris Richards 2007-09-17 23:34:16 UTC
Needed to add check for line type. Unless the user chooses to show the label on the return line, leave message type as UNKNOWN. If the message type is set 
while reading the ARCHIVE file, then do not set it from the GLOBAL preference.
Comment 3 Peter Lam 2007-09-18 21:51:47 UTC
verified in trunk build 20070918.