Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312362 - Editing Unix file after it changes on host edits old data
Summary: Editing Unix file after it changes on host edits old data
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 312484
  Show dependency tree
 
Reported: 2010-05-10 21:32 EDT by Masao Nishimoto CLA
Modified: 2010-05-19 23:00 EDT (History)
1 user (show)

See Also:


Attachments
patch to handle open and open with cases (7.79 KB, patch)
2010-05-11 14:43 EDT, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masao Nishimoto CLA 2010-05-10 21:32:59 EDT
Editing a Unix file on the host, after it has been changed on the host, edits the data before the change.
You must open, close and reopen any Unix file to be sure you have the latest copy.

Scenario: (note that Unix Shell does not have to be from within RDz)

Unix Shell: cd <home directory>
Unix Shell: echo one > foobar ; cat foobar
  <verify one is printed>
RSE: refresh view and double click foobar
       <verify "one" is shown in the editor>
       <close editor>
Unix Shell: echo two > foobar ; cat foobar
  <verify "two" is printed>
RSE:  double click foobar
       <error: "one" is still shown in the editor> 

The problem does not exist in 3.2.  The fix is required for 3.0.3+.
Comment 1 David McKnight CLA 2010-05-11 14:38:24 EDT
With RSE 3.0.3, this is an issue in the double-click.  I also discovered that this is an issue for the open actions in not just RSE 3.0.3, but also RSE 3.2.
Comment 2 David McKnight CLA 2010-05-11 14:43:47 EDT
Created attachment 168002 [details]
patch to handle open and open with cases
Comment 3 David McKnight CLA 2010-05-11 14:47:41 EDT
I've committed the change to cvs and open bug 312484 for the backport of the open and open with cases along with the original 3.0.3-specific double-click case.