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
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.
*** Issue 77974 has been marked as a duplicate of this issue. ***