By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 803

Summary: tdesdk: Update kbugbuster to function with Trinity bugzilla
Product: TDE Reporter: Darrell <darrella>
Component: tdesdkAssignee: Timothy Pearson <kb9vqf>
Status: CONFIRMED ---    
Severity: minor CC: bugwatch, darrella, krisgamrat, mutantturkey, slavek.banko
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: All   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Patch to fix branding, default server, and update server list.

Description Darrell 2012-01-19 22:58:50 CST
tdesdk comes with an app called kbugbuster. Everything I have read online indicates the app is broken.

Is there any hope of getting kbugbuster updated to interface with the Trinity bugzilla?

Having a local native TDE desktop tool to query bug reports would be great. A local desktop tool would save a lot of bandwidth on the Trinity servers as well as user's bandwidth too.

The only comparable app is Deskzilla --- a slow Java app and one that is guaranteed to work only with the Sun (now Oracle) version of Java.

Would be nice to use a native TDE/Qt3 app. Maybe rename the app to tbugbuster too. :)

For now I'm filing this as a bug because the app is still part of TDE.
Comment 1 Darrell 2012-08-16 00:32:41 CDT
kbugbuster does nominally function with the Trinity bugzilla.

* kbugbuster recognizes and connects to the Trinity bugzilla URL.

* I can search the Trinity bugzilla by bug number.

* After editing the server information with a login name and password, I can list the bugs written by me.

Problems:

* The kbugbuster default server is incorrect (originally bug report 1107).

* Comments are viewable by bug number, but otherwise kbugbuster doesn't correctly parse the XML anywhere else. All other columns list as "Unknown."

If these bugs were fixed then kbugbuster would improve dramatically as a bug tracking viewer.

Unknown:

* I have not tried to post changes or comments to a bug report. As I can list bugs written by me after adding my login name and password, I presume posting at least some changes are possible, but I prefer waiting until the above problems are resolved before moving to that next step.

* I don't know what additional parsing support is needed for the various different releases of bugzilla.

* I don't know whether there is a way to have kbugbuster automatically refresh its cache with each new start.
Comment 2 Darrell 2012-08-16 00:33:37 CDT
*** Bug 1107 has been marked as a duplicate of this bug. ***
Comment 3 Darrell 2012-08-16 12:58:49 CDT
Created attachment 785 [details]
Patch to fix branding, default server, and update server list.

This patch should be back portable to 3.5.13 SRU.

The next step is to figure out why the XML list is not parsing correctly, resulting in all text to be rendered as "Unknown." I'll tinker some more but I need help from a code expert.
Comment 4 Slávek Banko 2012-08-21 12:29:49 CDT
I tried the patch v3.5.13-cord.
The behavior is the same as you describe it.
Comment 5 Slávek Banko 2012-08-21 13:24:11 CDT
I looked at the source code KBugBuster to see what url is used to get information from bugzilla. For example, for a list of products is used:

http://bugs.pearsoncomputing.net/xml.cgi?data=versiontable

But, as I soon discovered, bugzilla 3.x not use xml.cgi, but XMLRPC or JSONRPC service - see:

http://www.bugzilla.org/docs/3.6/en/html/api/Bugzilla/WebService.html

This would mean either rewrite communication with a server in KBugBuster or on the server to create a custom implementation of xml.cgi.

Overwriting communication with the server should probably add to KBugBuster general support for newer versions of bugzilla. From this perspective, therefore, it appears advantageous way.
Comment 6 Darrell 2012-08-21 13:45:59 CDT
Ignoring the remainder of problems described here, are you saying the patch works in 3.5.13? If yes, then we should push the patch. Not a huge gain but at least the default server gets fixed.
Comment 7 Slávek Banko 2012-08-21 13:50:38 CDT
(Odpověď na komentář #6)
> Ignoring the remainder of problems described here, are you saying the patch
> works in 3.5.13? If yes, then we should push the patch. Not a huge gain but at
> least the default server gets fixed.

Yes, in v3.5.13-sru patch is working properly.
You can push it.
Comment 8 Darrell 2012-08-21 13:52:11 CDT
Possibly look at the KDE4 kbugbuster code to see how those people handle more recent bugzillas?
Comment 9 Darrell 2012-08-21 13:54:44 CDT
Patch pushed to GIT in commit 8d38062c.
Comment 10 Slávek Banko 2012-08-21 13:56:59 CDT
I looked to KDE4. Solved so that the development of KBugBuster was stopped.
When we implement a new communication with the server, we will be better!
Comment 11 Calvin Morrison 2012-10-15 09:24:01 CDT
I think this has been pushed - should we close this report?
Comment 12 Slávek Banko 2012-10-15 09:29:50 CDT
(Odpověď na komentář #11)
> I think this has been pushed - should we close this report?

Issue left open because KBugBuster with Trinity Bugzilla still does not work.
Comment 13 Darrell 2012-10-15 13:44:09 CDT
kbugbuster needs more work. I suspect most of the repairs will be straightforward to an experienced coder. Mostly fixing XML parsing and some layout formatting. As nice as Deskzilla might seem, most people want to browse the bug tracker and perform queries with a native app. We have an app that can provide that service, is 98% functional, but needs attention.