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 227936

Summary: Smarter error processing when saving full remote file
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: proposed fix
propsed patch, modified after review with AK

Description Vladimir Kvashin 2013-03-26 09:18:00 UTC
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).
Comment 1 Vladimir Kvashin 2013-05-20 13:14:41 UTC
This causes user data loss. Upgrading to P1.
Comment 2 Vladimir Kvashin 2013-05-22 19:53:27 UTC
Created attachment 134765 [details]
proposed fix
Comment 3 Vladimir Kvashin 2013-05-23 19:45:43 UTC
Created attachment 134831 [details]
propsed patch, modified after review with AK
Comment 5 Quality Engineering 2013-05-26 02:22:50 UTC
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)