Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343671 - Changes to description in Tasks View are not reflected in corresponding task comment of the resource file
Summary: Changes to description in Tasks View are not reflected in corresponding task ...
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 16:27 EDT by Don Vaughn CLA
Modified: 2020-05-14 11:33 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Vaughn CLA 2011-04-22 16:27:53 EDT
Build Identifier: 20100617-1415

When making changes to the description of tasks from within the Task View (either by left-clicking on the description or by right-clicking the description->properties), the corresponding task comment in the resource file is left unchanged.  

This causes a problem only when this resource file is later altered and saved, in which case the change made to the task from within the Task View is overwritten to whatever is in the resource file at save time (which may well be the old description). At this point there is no way of recovering the overwritten task. 

Reproducible: Always

Steps to Reproduce:
1. Write a TODO somewhere, save this file (this is the resource file)
2. Go to Task View, alter the description for your new task
3. If you've closed your resource file open it
4. Change anything except for the task comment, save it
5. Your new task description has now been replaced by the old one
Comment 1 Dani Megert CLA 2011-04-26 11:54:42 EDT
>1. Write a TODO somewhere, save this file (this is the resource file)
In which editor do you add the TODO comment? If I do this in the Java editor then the task is read-only and can't be edited in the Tasks view.
Comment 2 Don Vaughn CLA 2011-04-27 18:36:46 EDT
It was in the PHP editor.  It is also read-only for me in the other editors.
Comment 3 Prakash Rangaraj CLA 2011-04-28 00:04:29 EDT
(In reply to comment #2)
> It was in the PHP editor.  It is also read-only for me in the other editors.

   Moving to PDT...
Comment 4 Zhongwei Zhao CLA 2011-05-11 00:04:05 EDT
hi Don,

The bug does not exist any more in PDT head version,because the PDT change the task to read-only and can't be edited in the Tasks view now.

Thanks for your reporting!
Comment 5 Kalin CLA 2011-08-02 09:17:23 EDT
Verified taking into account Comment 4 
Closing...