| Summary: | AbstractTaskDataHandler.postTaskData receives old attributes for unsubmitted tasks | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Robert Munteanu <robert.munteanu> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | steffen.pingel |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Robert Munteanu
I managed to reproduce this for new tasks as well, so I'm adjusting the title. Does the list of attributes match the attributes modified in the task editor? While I follow your argument that an empty list of changed attributes makes the most sense in the case of new tasks I wonder if it's worth the risk changing this now as connectors may rely on the current behavior. Does it work for you to simply check if the task data isNew()? (In reply to comment #2) > Does the list of attributes match the attributes modified in the task editor? Yes. > While I follow your argument that an empty list of changed attributes makes the > most sense in the case of new tasks I wonder if it's worth the risk changing > this now as connectors may rely on the current behavior. Hm, yes, that's always a problem. > Does it work for you to > simply check if the task data isNew()? Yes, it does. I don't need this bug resolved for the change detection logic to work, but it threw me off a bit. Perhaps a brief javadoc would clear this confusion? Unfortunately we didn't get around to this. Removing milestone for now but we'll consider it when planning the next release cycle. 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 |