Community
Participate
Working Groups
I've attached a testcase that demonstrated the problem. If the repository url is "https://bugzilla.mozilla.org" it works, if the url is "https://bugzilla.mozilla.org/" (i.e. the query url contains two "/") the parseHtmlError() in BugzillaClient (via getSearchHits()) throws a CoreException with the cryptic status: Status INFO: org.eclipse.mylar.bugzilla code=2 MylarStatus null
Created attachment 59306 [details] Testcase demonstrating the problem. Testcase currently fails because of the problem.
Comment on attachment 59306 [details] Testcase demonstrating the problem. If the "/" at the end of the repository url is removed, the testcase will pass.
This problem was observed for the Mozilla repository (Bugzilla v. 2.23) but doesn't occur for the Eclipse repository (Bugzilla v. 2.22).
Marking as dependant since I'll likely want to look at this at the same time as testing the Bugzilla 3.0 stream.
This error occurs even without a trailing slash in some repositories. I cannot get any bugs from http://bugs.kde.org/ and others; only a select few work. Others (https://bugzilla.redhat.com/bugzilla/ or http://bugzilla.gnome.org/) stop producing a parseHTML error when the trailing slash is removed, but still don't return the requested bug.
We'll have to investigate this in the 3.1 cycle. Need to defer: http://wiki.eclipse.org/index.php/Mylyn/3.0_Plan#Deferred_Items
Removed by droy - SPAM 2008-09-19 21:09
Frank if you get a chance, please review and mark resolved if this has since been resolved.
(In reply to comment #8) > Frank if you get a chance, please review and mark resolved if this has since > been resolved. Rob, for http://bugzilla.gnome.org/ I get HttpURLConnection.HTTP_FORBIDDEN but redhat is OK. For gnome I can use the Browser without any problem. Thoughts?
Looks like gnome.org's repos is fairly customized. Can you get a dump of the html returned by gnome's repo (if any)?
We currently do not have any standalone tests for Bugzilla that run as part of the AllHeadlessStandaloneTests suite. It would be very valuable if we built up a test suite and maybe use this bug as a start.
What is the status here?
(In reply to comment #10) > Looks like gnome.org's repos is fairly customized. Can you get a dump of the > html returned by gnome's repo (if any)? Sorry, I can not reproduce this any longer.
Created attachment 126633 [details] patch I activate the following tests * testAddCredentials * testQueryViaConnector Should I do the same for * testGetBug * testGetBugs Should we need a special test for an Repository URL without "/" at the end?
Created attachment 126634 [details] mylyn/context/zip
(In reply to comment #14) > Created an attachment (id=126633) > patch +1, please apply > > I activate the following tests > * testAddCredentials > * testQueryViaConnector Great! > Should I do the same for > * testGetBug > * testGetBugs Would be great Frank since we could then point others to these as sample source code for headless. > Should we need a special test for an Repository URL without "/" at the end? Wouldn't hurt since the headless case may not be protected as is the repository settings page ui?
Created attachment 131579 [details] patch V2 patch for * testGetBug * testGetBugs
Created attachment 131580 [details] mylyn/context/zip
Created attachment 131581 [details] patch V2 patch for * testGetBug * testGetBugs Sorry wrong patch attached
Created attachment 131582 [details] mylyn/context/zip
Great. Patch applied.