Bug 624281 - reporting via abrt fails since BZ upgrade to 3.6
Summary: reporting via abrt fails since BZ upgrade to 3.6
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: 3.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-15 15:47 UTC by Patrick C. F. Ernzer
Modified: 2013-06-24 03:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-17 16:17:02 UTC
Embargoed:


Attachments (Terms of Use)
v1 for adding mapping to statuswhiteboard field (500 bytes, patch)
2010-08-17 11:43 UTC, Noura El hawary
dkl: review+
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 588368 0 None None None Never

Description Patrick C. F. Ernzer 2010-08-15 15:47:26 UTC
Description of problem:
tried submitting a bug via abrt (GUI and CLI) today but it fails as per the below.

Version-Release number of selected component (if applicable):
bugzilla 3.6
abrt-1.1.1-2.fc13.x86_64

How reproducible:
could reproduce twice in a row, once via GUI, once via CLI

Steps to Reproduce:
1. something crashes, abrt shows icon
2. abrt-cli --get-list
3. abrt-cli --report <some ID>
  
Actual results:
Report using Bugzilla? [y/N]: y
Wrong settings were detected for plugin Bugzilla.
Enter your login: pcfe
Enter your password: 
>> Logging into bugzilla...
>> Checking for duplicates...
>! XML-RPC Fault(32000): RPC failed at server.  There is a problem with your search: statuswhiteboard is not a valid field name. The legal field names are listed here.
>> Reporting via 'Bugzilla' was not successful: XML-RPC Fault(32000): RPC failed at server.  There is a problem with your search: statuswhiteboard is not a valid field name. The legal field names are listed here.
Bugzilla: XML-RPC Fault(32000): RPC failed at server.  There is a problem with your search: statuswhiteboard is not a valid field name. The legal field names are listed here.


Expected results:
bug submitted to bugzilla via abrt

Additional info:
Up until Friday I was able to report bugs through abrt on this machine to bugzilla just fine.
Bug 623983 is the last bug I successfully reported to bugzilla through abrt (2010-08-13 06:54 EDT)

Comment 1 David Lawrence 2010-08-16 04:02:26 UTC
I was hoping that the beta's would flesh out these type of issues. Can someone provide the exact XMLRPC call that is being used that is causing the error and the params that are being passed? It is possible that a field name has changed fomr version 3.4 to 3.6 and we will need to put in a workaround.

Dave

Comment 2 Patrick C. F. Ernzer 2010-08-16 11:58:42 UTC
I think the owner of abrt might be a better target for needinfo.

I'm not sure how to extract the xmlrpc call abrt does. As it's SSL traffic to bugzilla, tcpdumping will not help me.

Comment 3 Noura El hawary 2010-08-17 11:43:59 UTC
Created attachment 439091 [details]
v1 for adding mapping to statuswhiteboard field

Hi,

looking at the error message posted in the previous comments seems that user is performing a search using the parameter statuswhiteboard, in 3.4 we had mapping of statuswhiteboard => status_whiteboard which is missing in 3.6, attached is a patch for that missing mapping. 

This patch is based on the assumption that the error is coming from the xmlrpc search function.

Cheers,
Noura

Comment 4 Kevin Baker 2010-08-17 14:02:13 UTC
Is this mapping maintained by us or by the upstream. If so, please get it patched upstream. One less thing to bite us on the next upgrade.

Comment 5 David Lawrence 2010-08-17 15:17:32 UTC
Comment on attachment 439091 [details]
v1 for adding mapping to statuswhiteboard field

Thanks Noura. I will go ahead and check this in so if I push another update today it will go in.

Dave

Comment 6 David Lawrence 2010-08-17 16:17:02 UTC
Checked in and will be in the next code update.

Comment 7 Noura El hawary 2010-08-18 12:07:05 UTC
(In reply to comment #4)
> Is this mapping maintained by us or by the upstream. If so, please get it
> patched upstream. One less thing to bite us on the next upgrade.

Hi Kevin, yes the mapping is maintained by upstream I submitted the patch upstream.

Cheers,
Noura


Note You need to log in before you can comment on or make changes to this bug.