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 - Smarter error processing when saving full remote file
Summary: Smarter error processing when saving full remote file
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-26 09:18 UTC by Vladimir Kvashin
Modified: 2013-05-26 02:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed fix (35.36 KB, patch)
2013-05-22 19:53 UTC, Vladimir Kvashin
Details | Diff
propsed patch, modified after review with AK (35.30 KB, patch)
2013-05-23 19:45 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)