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

RESOLVED FIXED in Bugzilla 3.0

Status

()

--
minor
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: LpSolit, Assigned: LpSolit)

Tracking

Bugzilla 3.0
Bug Flags:
approval +
approval3.0 +

Details

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
Created attachment 266126 [details] [diff] [review]
patch, v1

'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 1

12 years ago
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.
(Assignee)

Comment 2

12 years ago
Because I don't like its output. :)

Comment 3

12 years ago
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+

Updated

12 years ago
Flags: approval3.0+
Flags: approval+
(Assignee)

Comment 4

12 years ago
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
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.