| Summary: | Saving a member open in Remote LPEX editor while Working Offline doesn't set the dirty property | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Dmitry Baev <dbaev> | ||||||
| Component: | RSE | Assignee: | David McKnight <dmcknigh> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | dbaev, kjdoyle, rdibugs | ||||||
| Version: | 3.0.1 | ||||||||
| Target Milestone: | 3.1 M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 256131 | ||||||||
| Attachments: |
|
||||||||
|
Description
Dmitry Baev
I've opened bug 256131 for the backport. Created attachment 118496 [details]
patch to mark properties dirty when offline and update editor if lpex
Dmitry, could you try this patch? Note that the dirty indicator for the editor will only be updated for lpex (i.e. other editors don't have a way to update this that I know of).
Dave, I tried the patch. It works fine in Remote LPEX editor so we should be good. When can we expect to have the backport to 3.0.2 ready? I've committed the fix for this to cvs. The backport will be committed after it gets a positive review from Kevin Doyle. Hopefully within the next couple days. I noticed another minor issue related to save when disconnected: First time a member is saved after connection is disconnected - the editor does not display dirty indicator. Steps to reproduce: 1. open member in RSE editor and disconnect the connection 2. makes some changes in the editor, and save 3. when prompted to reconnect, DONT connect Dirty property is set in SystemIFileProperties (line 708 in SystemTempFileListener) but the editor doesn't display the dirty indicator. This happens only after the first save. Dave, should I open a new defect for this? Created attachment 118660 [details]
update to patch
Here's an update that lets this follow through when not connected too so that ISystemTextEditor can be marked as dirty in this case as well.
I've committed the update to cvs. |