Closed Bug 382060 Opened 17 years ago Closed 17 years ago

contrib/bz_webservice_demo.pl is unable to display bug data correctly

Categories

(Bugzilla :: WebService, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

Attached patch patch, v1Splinter Review
'internals' contains a bug object, so the current output is:
internals: HASH(0x87893e8)

My patch lets bz_webservice_demo.pl handle this correctly. After all, that's the goal of this script to show users what can be done with XML-RPC, so let's do it in a nice way. :)
Attachment #266126 - Flags: review?(mkanat)
Comment on attachment 266126 [details] [diff] [review]
patch, v1

Why not just use Data::Dumper instead? That way if anything is ANY kind of ref, you can just Dumper() it.
Because I don't like its output. :)
Comment on attachment 266126 [details] [diff] [review]
patch, v1

Okay. Well, it's contrib, so I don't really care. :-)
Attachment #266126 - Flags: review?(mkanat) → review+
Flags: approval3.0+
Flags: approval+
tip:

Checking in contrib/bz_webservice_demo.pl;
/cvsroot/mozilla/webtools/bugzilla/contrib/bz_webservice_demo.pl,v  <--  bz_webservice_demo.pl
new revision: 1.10; previous revision: 1.9
done

3.0:

Checking in contrib/bz_webservice_demo.pl;
/cvsroot/mozilla/webtools/bugzilla/contrib/bz_webservice_demo.pl,v  <--  bz_webservice_demo.pl
new revision: 1.7.2.3; previous revision: 1.7.2.2
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: