Community
Participate
Working Groups
Currently the Bugzilla connector does not return the id of the duplicated bug when a duplicate bug is queried using BugzillaClient.getTaskData().
Created attachment 163512 [details] Add support for returning id of duplicated field when calling BugzillaClient.getTaskData() Manual testing have been performed
Created attachment 163513 [details] mylyn/context/zip
Please review my patch. Can you also point me where to look for a testcase I can use for writing the unit tests?
Can you clarify the purpose of the patch?
We are using the Bugzilla Connector in our project to access Bugzilla and synchronize bugs to another system. If lets say Bug A is a duplicate of Bug B and we are synchronizing Bug A we need to synchronize the id of Bug B as well - not just the DUPLICATED resolution and the comment for duplicates, we also need to set the duplicated bug id in the other system so it will know which bug is the duplicated one. But this information is not populated in the TaskData returned by BugzillaClient.getTaskData() although the http response from Bugzilla does contain it. Does this answers your question?
(In reply to comment #4) > Can you clarify the purpose of the patch? Steffen, with this patch the textfield "Duplicate of" holds the bugid and is no longer empty. Now it looks the same in the HTML and TaskEditor.
Thanks for the clarification Attila. Frank, Rob, can you review the patch?
Thanks Attila, I commit this to HEAD.