| Summary: | [api] JiraTaskDataHandler.postTaskData() should return id instead of key | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Richard Evans <richard.evans> | ||||
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | ekuleshov, steffen.pingel | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Richard Evans
Steffen, Eugene: if JIRA needs this policy to be temporarily disabled for 2.0 I can consider it, although a fix at the source would be better. We fully freeze the Europa/EPP content early aft so let me know. Richard, what version you are using? It seems like your stack trace don't match the code in CVS and I can't reproduce this with the latest dev build. Can you please try to the last build? See download details at http://www.eclipse.org/mylyn/dl.php I did an update from the mylyn extras site yesterday (http://download.eclipse.org/tools/mylyn/update/extras). I'll try another update Are you running on Eclipse 3.3? Can you please check from Help / About / Plugins which jira plugin version you have? Thanks The plugin list shows: 2.0.0.v20070623-1130 and 2.0.0.v20070615-compatability for the jira core plugin I am using 20070626 build. Just updated and now the problem does not occur. Apologies for wasting your time on this! No problem. Glad that it is working for you now. Eugene, the root cause of this bug is that JiraTaskDataHandler.postTaskData() returns the key and not the id (which is the API contract). This is not necessary anymore and should be changed. Good point. Though it seems like fix would require an extra roundtrip to the server... *** Bug 194964 has been marked as a duplicate of this bug. *** Changed postTaskData() in JiraTaskDataHandler2 to return a response object that has the task id instead of the key. We can consider to maintain a key/id mapping in the connector core in case the additional server round trip turns out to be too expensive. I'll review this change as part of the 3.0 performance cycle for the JIRA connector. Created attachment 97711 [details]
mylyn/context/zip
|