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.
Steps to reproduce: - create a synchronous sample - change something on the diagram (e.g. drag the Assign so that it is below Reply) - click somewhere on the empty space on the diagram so that the selection is lost - try to save the file via keyboard shortcut (Save All works correctly) The file will not be saved. Also note that the window title changes when you select an activity and when you lose selection (see the attached screencast). I'm filing as a P2, as there might be something quite bad happening underneath.
Created attachment 63884 [details] Screencast
Alexey, looks like problem in BPEL OM ?
This is not an OM issue. Code, responsible for exposing current diagram selection via active node to the rest of netbeans, setting active node to null when nothing is selected on diagram. Because of this, framework can't access node's Lookup and figure out which DataObject it belongs to. DataObject is used by framework to determine saved/dirty status for the data, which current node represents. Setting active node to null was done by intent to avoid some other issues with Multiview. This fix was introduced not far ago. The biggest problem now is to find information on this fix(because it was done in CVS time and history is lost after switching to HG). I'm digging thru my email archives trying to figure this out. Otherwise we can introduce regressions multiview selection code.
Fixed. I switched to the version, which selects sets process itself as active node when selection is empty.
http://hg.netbeans.org/main?cmd=changeset;node=79b59431fd39
tested and verified using Build 200810080102 and followed the steps below and opened the bpel in synchronous sample and moved the assign and did a save using ctrl c and the change was saved. Reopened the bpel and the change was saved.