- This topic has 20 replies, 6 voices, and was last updated 19 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
coemergenceMemberI just downloaded and installed v3.8.3 of MyEclipse. I noticed a Bugzilla preferences item. I pointed it at my Bugzilla database, then provided my username and password. I was then able to perform querries against our database, but whenever I try to update the Bugzilla search form I get an error indicating I can’t log in. As far as I can tell the credentials I provided for Bugzilla are correct. Does the Bugzilla username have to be of an “Admin” type in Bugzilla. My username I have for Bugzilla is NOT an “Admin” of Bugzilla. Does this matter? I can query just fine, but I can’t edit and bug nor update the Search form, but I can query.
Any ideas?
John
Riyad KallaMemberJohn,
What version of Bugzilla? We tested/developed against latest stable 2.16.7 and latest almost-stable 2.18rc3, we didn’t/couldn’t test against the 2.17 series…Can you check your log file for exceptions? Maybe help us figure out where the bug is (workspace dir\.metadata\.log)
coemergenceMemberRiyad,
The Bugzilla version is what you suspected, its 2.17.4.
I can confirm the credentials I am providing are correct.The error from the log file:
!ENTRY ca.ubc.bugzilla 4 0 Dec 14, 2004 13:13:48.812
!MESSAGE
!STACK 0
javax.security.auth.login.LoginException: Bugzilla login information incorrect
at ca.ubc.bugzilla.search.BugzillaQueryPageParser.parseQueryPage(Unknown Source)
at ca.ubc.bugzilla.search.BugzillaQueryPageParser.parseDocument(Unknown Source)
at ca.ubc.bugzilla.search.BugzillaQueryPageParser.<init>(Unknown Source)
at ca.ubc.bugzilla.BugzillaPreferences.updateQueryOptions(Unknown Source)
at ca.ubc.bugzilla.search.BugzillaSearchPage.updateSearchPage(Unknown Source)
at ca.ubc.bugzilla.search.BugzillaSearchPage$10.mouseUp(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:136)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
at org.eclipse.jface.window.Window.open(Window.java:648)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:60)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:46)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:143)
at org.eclipse.ui.internal.commands.Command.execute(Command.java:132)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:453)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:871)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:912)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:530)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:478)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:243)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:740)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:795)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3067)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Riyad KallaMemberhrrmm.. I’ll kick this back to our dev and see if he knows what is going on.
Scott AndersonParticipantJohn,
The username / password for bugzilla needs to be for a user with the ability to edit / enter bug reports. Additionally, please remember that bugzilla login names are an email address, not a “name” per se. Please checkout the Bugzilla quickstart in the Eclipse help system or on the website here:
http://myeclipseide.com/enterpriseworkbench/help/topic/com.genuitec.myeclipse.doc/html/quickstarts/bugzilla/index.html
coemergenceMemberScott,
My username is of course an email address. When I log in to our Bugzilla from a browser, I have the ability to create and edit bug reports.
The URL that I initially provided was: http://[domain hidden]/bugzilla
I have since tried the URL: http://[domain hidden]/bugzilla/index.cgi and when I attempt to perform an update from the search dialog, I don’t get an error BUT none of the dropdowns on the search form have anything in them now AND I can’t view any bug reports, so this isn’t totally correct either.Is this just a URL issue? What is the corret URL I should be providing?
Scott AndersonParticipantThe correct URL is http://[domain hidden]/bugzilla
From Bugzilla preference page you should be able to enter your URL, username, and password. When you select Apply, they will be tried and an appropriate error should be given.
coemergenceMemberScott,
Ok I tried the URL as you suggested (which is what I initially tried). When I hit the Apply button on the preferences page, I don’t get any kind of error. When I goto the search tab, display the search form and hit the Update button, I get an error.
coemergenceMemberScott,
FYI, the following is what I see on my permissions page in Bugzilla:
You have the following permission bits set on your account:canconfirm Can confirm a bug.
editbugs Can edit all aspects of any bug.
coemergenceMemberScott,
For some reason, now when I try to display a bug report I simply get an error indicating that that specific bug report doesn’t exist on the configured server. Even though previously I couldn’t get the “Update” on the search tab to work, I could still enter in an ID for a bug and view it at least. Now I can’t even do that anymore.
ddesboroughMemberFYI, I am seeing the same thing and I am using bugzilla 2.18rc3. Can search, but can’t add or update.
coemergenceMemberI restored the defaults for that Preferences page. It reset the Bugzilla url. I left it as it is. I brought up the search page, hit the Update button. It updated everything based on the default Bugzilla URL. I went into the preferences again, put in MY Bugzilla URL and username/password info. Did a search and now I can search MY Bugzilla DB, BUT I still can’t hit the Update button and have it execute without error. Nor can I edit/update any bug report.
ddesboroughMemberA follow-up… I had an error on my bugzilla server (couldn’t find sendmail). I fixed that and now I can add new bugs. I still can’t update them though. No error is shown when I attempt an update, it just ignores the changes. Any tips on how to debug this? I’ll keep playing. Perhpas I’ll stumble onto the problem.
Also, search is unable to update fields. When I try to update, it tells me it can’t log me in.
GregMemberCoemergence,
The Bugzilla Pref page does not do any validation when you enter in your credentials. They are validated when you connect and you will be prompted to reenter them if they are incorrect.
Ttry this:
1) Remove username/password from prefs
2) Do a search and in the search results open a bug in the editor
3) Click “Edit”, add a comment and click submit
4) You will be prompted for your bugzilla username/password info. Enter the infoIf it continues to ask you for your password it it is because it can’t login to the server with the given info. There are two reasons for this: 1) Your username/password is incorrect or 2) We can’t parse the information coming back from the bugzilla server because of an incompatible version. You have already indicated that the username/password info is correct so it must be the latter.
GregMemberddesborough,
What is your bugzilla server version? Do you see any errors in your Error log?
-
AuthorPosts