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 77926

Summary: Reverse engineering breaks diagram and model at all
Product: soa Reporter: Andrey Yamkovoy <kaktus>
Component: BPELAssignee: issues@soa <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrey Yamkovoy 2006-06-14 17:21:03 UTC
Steps to reproduce:
- Create Synchronous sample project.
- Open bpel source editor.
- Add line '<empty name="MyEmpty"/>' (or some another element) inside sequence, 
for example between Receive and Assign activities.
- Switch to diagram view.
- Notice that diagram is out of sync with source and shows incorrect sequence 
of activities.
Comment 1 Denis Anisimov 2006-06-21 09:22:04 UTC
This is fixed now. The problem was in notification from low level XAM with
unrecognized index equals to "-1".
Currently when some element is inserted then all follwong elements fired as 
deleted. Then inserted element fired as added. Then folowing elements are fired 
as added . This firing notify ComponentUpdater with index equls to "-1".
It was incorrectly handled. Now if this index appear with addition action then 
such element will be added to the end of list.
Comment 2 Denis Anisimov 2006-06-22 08:36:10 UTC
*** Issue 77974 has been marked as a duplicate of this issue. ***
Comment 3 Andrey Yamkovoy 2006-07-13 16:21:25 UTC
Fixed.