Problem with webservice method Bug.comment for "ids" set as bug ids

Hi,

I need to access Bugzilla (Version of Bugzilla used bugzilla 4.0rc)
webservice interface from a Java application. I have written a webservice
client with Apache XML RPC.


To fetch a comment for bug, I am using the following code :

Map paramMap = new HashMap();
paramMap.put("ids", comments); //where comments is String[] of  bug ids
ArrayList<Object> paramBug = new ArrayList<Object>();
paramBug.add(paramMap);

HashMap result = (HashMap) rpcClient.execute("Bug.comments", paramBug);

Web service call returns an empty HashMap, with no comments.

The above code works fine, for comment_ids and returns the specific
comment.
(ie if I change the line paramMap.put("ids", comments);   to
 paramMap.put("comment_ids"  ))

Can any one help me to find out why comments are not fetched for bug ids ?

Regards,

Indu
0
Indu
11/16/2010 7:19:18 PM
mozilla.support.bugzilla 10120 articles. 0 followers. Post Follow

0 Replies
424 Views

Similar Articles

[PageSpeed] 4

Reply:

Similar Artilces:

superreview granted: [Bug 345243] Missing ID "threadTreeCols" for columns of "threadTree" in file "messenger.xul" : [Attachment 229975] Remade patch as suggested in comment #2
Scott MacGregor <mscott@mozilla.org> has granted superreview: Bug 345243: Missing ID "threadTreeCols" for columns of "threadTree" in file "messenger.xul" https://bugzilla.mozilla.org/show_bug.cgi?id=345243 Attachment 229975: Remade patch as suggested in comment #2 https://bugzilla.mozilla.org/attachment.cgi?id=229975&action=edit ------- Additional Comments from Scott MacGregor <mscott@mozilla.org> Thanks for the patch. And props to Adam for fostering this along. Let me know if you need someone to check this in. ...

Bugzilla "Top 100 bugs" / "New bugs" list too small
Name: Philip Chalmers Email: philipchalmers_at_blueyonder.co.uk Product: Other (please state) Summary: Bugzilla "Top 100 bugs" / "New bugs" list too small Comments: In the Bugzilla "report a bug procedure, you sensibly ask users to check for duplicates in several ways, including checking the "Top 100 bugs" and "New bugs" lists. Unfortunately Bugzilla displays these lists in a scrollable box (? iframe) which is far too short at 800x600px (my eyesight's poor) only about 3 bugs are listed at a time. This makes quick scanning diffi...

superreview granted: [Bug 257990] Integrate Junk Mail settings into "Options" and "Account Settings" : [Attachment 220151] updated fix with review comments
Scott MacGregor <mscott@mozilla.org> has granted superreview: Bug 257990: Integrate Junk Mail settings into "Options" and "Account Settings" https://bugzilla.mozilla.org/show_bug.cgi?id=257990 Attachment 220151: updated fix with review comments https://bugzilla.mozilla.org/attachment.cgi?id=220151&action=edit ------- Additional Comments from Scott MacGregor <mscott@mozilla.org> carrying forward david's sr and neil's r. ...

[ID 20020307.006] [BUG][use encoding] use encoding 'greek'; print "not" unless pack("U*", 0x3af) eq pack("C*", 0xdf) prints "not"!
This is a bug report for perl from "Anton Tagunov" <tagunov@motor.ru>, generated with the help of perlbug 1.33 running under perl v5.7.3. ----------------------------------------------------------------- Hello, developers! Hello, Jarkko! Please consider the following test being added: --- lib/encoding.t.orig Fri Feb 8 07:12:05 2002 +++ lib/encoding.t Thu Mar 7 19:38:39 2002 @@ -1,4 +1,4 @@ -print "1..19\n"; +print "1..20\n"; BEGIN { if (ord("A") == 193) { @@ -89,3 +89,7 @@ print "not " unless "\x...

Build IDs: Difference between id shown in "Settings" > "Device information" and crash reports
Hi, on my Keon, the build ids on master in "Settings" > "Device information" are different from the ones shown in crash reports. E.g. The device shows "20140903221558" as build ID, but a crash on the device https://crash-stats.mozilla.com/report/index/dea3b6de-7364-4b5a-b8a4-445a92140904 lists 20140903222841 as build ID. Is this a general difference between Gonk and Gaia or a misconfiguration on the Keon? Thank you Sebastian ...

Problem on setting to DropDownList Value="id" and Text="Name" by reading values from SQL...
Hi!Well, my problem is that i don't know how to set different values on a DropDownList. I have an DropDownList and an SqlDataSource. When the aspx page loads, i want the DropDownList to fill data from a table on my SQL Server. Especially, i want each row of the DropDownList to take the Value property from the "ID" cell of my SQL Table and to take the Text property from the "Name" cell of my same SQL Table.Now, with my solution, the DropDownList takes the value for its "Value" and "Text" properties only from my  "Name" cell of my same...

patch to introduce the checkbox "and accept bug" under "reassign bug to" in 2.22.2 when editing a bug?
hi all, in our application, when the bugs are logged they are placed into a team pool user account. the developers then take the bugs from this. so at the moment, they have to first assign the bug to themselves, access the bug again and then accept the bug. So i have read up on the "Accept bug" patches for 2.12 and 2.16 but I am on Bugzilla 2.22.2 and the structure seems to have changed a bit. *********************************************************************************** I'm confused by the behavior of the "Accept" button in the Show Bug form. Why doesn&...

How to install the patch for bug 357374 (Can't locate object method "use_for" via package "Bugzilla::Group")?
Hi, i installed bugzilla 2.22.1 on my windows system, and came across the bug wich is described here: ttps://bugzilla.mozilla.org/show_bug.cgi?id=357374 As you can see, the bug should be resolved - so i installed the patch (using eclipse apply patch functionality). Is there anything else i need to do, except run checksetup.pl again (which i already did)? The exception still occurres :-( Thank you for your help, Andreas B�hler F***...found the problem. I was experimenting with the template customizing (e.g. Remove all "create user" links except for admins...

[ID 20010427.002] Problem with "each %"-construct (BUG) 5.005, 5.6.0, 5.6.1
This is a bug report for perl from obh@nextra.com, generated with the help of perlbug 1.33 running under perl v5.6.1. ----------------------------------------------------------------- I believe there is an bug in the "each %{...}" construct and I have enclosed a program that exposes this bug. The bug exist in perl 5.003, 5.004, 5.005, 5.6.0, 5.6.1. #!/local/net/perl/bin/perl $NAME{all}->{1} = A; $NAME{all}->{2} = B; $NAME{all}->{3} = C; $NAME{all}->{4} = D; $NAME{all}->{5} = E; $NAME{all}->{6} = F; $NAME{all}->{7} = G; foreach (1, ...

set bug status "resolved" at bug report
Hi bugzilla support team! Is it possible to adapt bugzilla, so that I can set the status of a bug to = "resolved-fixed" directly when I report a new bug? That means I have to report an already fixed bug. At the moment there are only the states "unconfirmed", "confirmed" and "in= _progress" selectable. Hope you can help me ... Best regards, Mario ...

superreview granted: [Bug 216533] Move the "Composition" settings *above* the "Addressing" settings in the Account Settings : [Attachment 130078] Patch v0.1a
David Bienvenu <bienvenu@nventure.com> has granted Ian Neal <bugzilla@arlen.demon.co.uk>'s request for superreview: Bug 216533: Move the "Composition" settings *above* the "Addressing" settings in the Account Settings http://bugzilla.mozilla.org/show_bug.cgi?id=216533 Attachment 130078: Patch v0.1a http://bugzilla.mozilla.org/attachment.cgi?id=130078&action=edit ------- Additional Comments from David Bienvenu <bienvenu@nventure.com> sr=bienvenu ...

superreview requested: [Bug 216533] Move the "Composition" settings *above* the "Addressing" settings in the Account Settings : [Attachment 130078] Patch v0.1a
Ian Neal <bugzilla@arlen.demon.co.uk> has asked David Bienvenu <bienvenu@nventure.com> for superreview: Bug 216533: Move the "Composition" settings *above* the "Addressing" settings in the Account Settings http://bugzilla.mozilla.org/show_bug.cgi?id=216533 Attachment 130078: Patch v0.1a http://bugzilla.mozilla.org/attachment.cgi?id=130078&action=edit ------- Additional Comments from Ian Neal <bugzilla@arlen.demon.co.uk> r= Neil carried forward ...

superreview granted: [Bug 257990] Integrate Junk Mail settings into "Options" and "Account Settings" : [Attachment 220052] migrate the new global settings
David Bienvenu <bienvenu@nventure.com> has granted Scott MacGregor <mscott@mozilla.org>'s request for superreview: Bug 257990: Integrate Junk Mail settings into "Options" and "Account Settings" https://bugzilla.mozilla.org/show_bug.cgi?id=257990 Attachment 220052: migrate the new global settings https://bugzilla.mozilla.org/attachment.cgi?id=220052&action=edit ------- Additional Comments from David Bienvenu <bienvenu@nventure.com> great, thx. ...

superreview requested: [Bug 257990] Integrate Junk Mail settings into "Options" and "Account Settings" : [Attachment 220052] migrate the new global settings
Scott MacGregor <mscott@mozilla.org> has asked David Bienvenu <bienvenu@nventure.com> for superreview: Bug 257990: Integrate Junk Mail settings into "Options" and "Account Settings" https://bugzilla.mozilla.org/show_bug.cgi?id=257990 Attachment 220052: migrate the new global settings https://bugzilla.mozilla.org/attachment.cgi?id=220052&action=edit ------- Additional Comments from Scott MacGregor <mscott@mozilla.org> This extra patch migrates the values for: manualMark, manualMarkMode and spamLogging from the default account to the new...

Web resources about - Problem with webservice method Bug.comment for "ids" set as bug ids - mozilla.support.bugzilla

Resources last updated: 1/16/2016 6:20:03 AM