Community
Participate
Working Groups
Build Identifier: 20100917-0705 I am trying to interface to a locally hosted Bugzilla server from within Eclipse. I am able to validate the repository connection and create queries on the repository. The issue that I have is whenever I attempt to create a new bug from within Eclipse, the bug is created on the server but I receive the following error: "An internal error has occurred: Unable to retrieve new task id from: request XXX submitted – XXXX". After the bug has been created, I am able to edit the bug and submit changes successfully from within Eclipse. Reproducible: Always Steps to Reproduce: 1.Open "New Task..." form 2.Fill in new bug details 3.Submit the bug
I think the problem stems from the fact that the Bugzilla server I'm using employs the term "Request" rather than "Bug" or "Issue" in the title of the submitted bug web page. It appears that the Bugzilla connector is expecting "Bug" or "Issue" and thus prints an error.
Here is how to fix this 1) define an new plugin 2) add the following extention point to the plugin.xml <extension point="org.eclipse.mylyn.bugzilla.core.languages"> <language name="en private"> <languageAttribute command="error_login" response="Login"/> <languageAttribute command="error_login" response="log in"/> <languageAttribute command="error_login" response="check e-mail"/> <languageAttribute command="error_login" response="Invalid Username Or Password"/> <languageAttribute command="error_login" response="account locked"/> <languageAttribute command="error_collision" response="Mid-air collision!"/> <languageAttribute command="error_comment_required" response="Comment Required"/> <languageAttribute command="error_logged_out" response="logged out"/> <languageAttribute command="bad_login" response="Login"/> <languageAttribute command="bad_login" response="log in"/> <languageAttribute command="bad_login" response="check e-mail"/> <languageAttribute command="bad_login" response="Invalid Username Or Password"/> <languageAttribute command="bad_login" response="account locked"/> <languageAttribute command="bad_login" response="error"/> <languageAttribute command="processed" response="processed"/> <languageAttribute command="changes_submitted" response="Changes submitted"/> <languageAttribute command="changes_submitted" response="added to Bug"/> <languageAttribute command="bug" response="Bug"/> <languageAttribute command="bug" response="Issue"/> <languageAttribute command="bug" response="Request"/> <languageAttribute command="submitted" response="Submitted"/> <languageAttribute command="submitted" response="posted"/> <languageAttribute command="suspicious_action" response="Suspicious action"/> </language> </extension> 3) install this new plugin 4) open the repository setting Dialog and change under "Additional Settings" the language to "en private" That's it.
Created attachment 196800 [details] mylyn/context/zip
That fixed the issue. Thanks!