Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316188

Summary: private due dates for repositories that do not support shared due dates are not treated as personal
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: major    
Priority: P2 CC: 11110000b, robert.elves
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 319397    
Bug Blocks:    

Description Steffen Pingel CLA 2010-06-08 14:48:16 EDT
If a due date is set on repository that does not support shared due dates (e.g. Eclipse.org) the Task List will not recognize it as overdue if the task is not also assigned to the current user. This feels like setting a due date for the assignee of the task without telling the assignee. I would expect due dates set in the private section to be treated like due dates on local tasks instead.
Comment 1 Pawel Niewiadomski CLA 2010-07-09 07:05:42 EDT
I try to implement similar thing - extend the idea of task ownership to handle due dates properly for Crucible.

What I want to achieve it to have some details from TaskData (or TaskData itself) when AbstractRepositoryConnector.isOwnedByUser is called.

I see that TaskData is handled in TaskDataManager in tasks.ui so it's not available from core. Also getting local working copy of a TaskData means reading a file so it shouldn't be done in UI.

So I have an idea to set some attributes on ITask during synchronization/query? But I don't see a way to achieve this - TaskDataCollector is hidden and don't see a way to modify it. Any other way I can modify ITask during synchronization? Any listeners or sth?

Or do you think it would be possible to make API more public so it would be possible to achieve this?
Comment 2 Pawel Niewiadomski CLA 2010-07-09 08:58:54 EDT
OK. Found it - TaskMapper will help me map between TaskData and ITask.
Comment 3 Steffen Pingel CLA 2010-07-15 14:51:43 EDT
Pawel, were you your requirements addressed by bug 319397?

Rob, to resolve this bug it will probably be necessary to set a flag on a the task whether a due date is shared or local. This could be determined whenever the due date is set or by adding support for a repository and private due date.
Comment 4 Pawel Niewiadomski CLA 2010-07-15 14:57:36 EDT
Yes, they were. 319397 includes everything I need.
Comment 5 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn