Bug 38136 - [resources] Tasks should have a "generated by" attribute
Summary: [resources] Tasks should have a "generated by" attribute
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 3.3 M3   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-27 04:48 EDT by Philipe Mulet CLA
Modified: 2006-09-26 10:26 EDT (History)
3 users (show)

See Also:


Attachments
Preview of new attribute key and javadoc (1.82 KB, patch)
2006-09-25 10:51 EDT, John Arthorne CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-05-27 04:48:18 EDT
Build R2.1

If multiple tools are producing tasks, then it will become likely an issue to 
figure which tool did produce the offending task. Unless tasks are carrying 
this information, it will be quite difficult.
Comment 1 Christian Elsen CLA 2003-07-08 10:09:10 EDT
I suggest to extend the idea of keeping the 'task producing tool' to keeping the
'task producing resource' which may be a user. This should be combined with team
support.
Furthermore a time/date creation field per task is desirable.
Comment 2 John Arthorne CLA 2005-11-18 16:26:49 EST
*** Bug 103847 has been marked as a duplicate of this bug. ***
Comment 3 Randy Giffen CLA 2006-09-25 09:53:33 EDT
Since 103847 is marked as a duplicate I assume you are planning to add this
as an attribute of markers in general?
Any update on the status of this?
This is a request we need to push on as it is causing a usability issue since
currently these id's are typically added as a prefix to the marker's message
Comment 4 John Arthorne CLA 2006-09-25 10:13:53 EDT
Sorry Randy, I lost track of this bug.  I'll add the attribute key this week (3.3 stream).
Comment 5 John Arthorne CLA 2006-09-25 10:51:48 EDT
Created attachment 50826 [details]
Preview of new attribute key and javadoc
Comment 6 John Arthorne CLA 2006-09-25 10:55:16 EDT
Fix released.  New attribute added.
Comment 7 John Arthorne CLA 2006-09-25 10:57:48 EDT
Randy: I should mention that although the attribute key only appears as API in Eclipse 3.3, there is nothing stopping you from beginning to use this attribute against prior releases of the platform.
Comment 8 Randy Giffen CLA 2006-09-25 18:11:30 EDT
Thanks. I'd like to request this be added to the 3.2 maintenance stream as well.
We will not be moving to the 3.2 stream until after the next maintenance release.
The reason we need it added to the base marker and not just add it
ourselves is that we can then ask platform UI to add it as a column
in the Problems view and/or Problem property dialog.
Comment 9 John Arthorne CLA 2006-09-26 10:26:38 EDT
As a rule we don't add new API in maintenance streams. However, in this case it's not needed. The only thing added in core was a String constant that tells you the attribute key is "generatedBy". If necessary your tools, or the problems view, could start using that attribute in 3.2.x without the constant being there (based on the knowledge that the API has already been added in the 3.3 stream and that the key won't change).