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.
When saving an edited file in full remote mode, a network related error can occur (broken connection, etc). We need to ensure that user work will not be discarded in this case. There is an anecdotal evidence that once or twice file became empty on remote site in this case. Since IDE has a local cache and knows that there was an error while transferring the file to remote host, it could process this better (for example, propose to recover as soon as connection is established, or so).
This causes user data loss. Upgrading to P1.
Created attachment 134765 [details] proposed fix
Created attachment 134831 [details] propsed patch, modified after review with AK
fixed in cnd-main http://hg.netbeans.org/cnd-main/rev/d5785680b3d5 http://hg.netbeans.org/cnd-main/rev/4af65b0f9a8f
Integrated into 'main-golden', will be available in build *201305252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d5785680b3d5 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: refactoring: use CommonTasksSupport.UploadParameters instead of a set of fields (fixing #227936)