Bug 1279732

Summary: can't update product by xmlrpc when vote not specified
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: WebServiceAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: jmcdonal, mtahir, qgong
Target Milestone: 4.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.4.10045.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 02:14:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rony Gong 🔥 2015-11-10 07:24:25 UTC
Description of problem:
can't update product by xmlrpc when vote not specified 

Version-Release number of selected component (if applicable):
4.4.10043-6

How reproducible:
Always

Steps to Reproduce:
1.Try to update an product like:
xmlrpc.Product.update({'is_open': 'false', 'name': 'bne-test2-29cL', 'has_unconfirmed': 'false', 'Bugzilla_password': '*******', 'default_milestone': '--', 'default_release': '--', 'ids': [482], 'Bugzilla_login': 'admin1', 'description': 'test2'}) 
2.
3.

Actual results:
{'fault_code': 32000,
 'fault_string': "'' is an invalid value for the Votes Per User field, which should contain a non-negative number."}

Expected results:
It could update product 

Additional info:

Comment 1 Rony Gong 🔥 2015-11-16 07:47:02 UTC
Tested on 
QA environment(bzperfweb01.app.qa) with version(4.4.10044-2, DB: psql)
Result: Pass

Comment 2 Matt Tyson 🤬 2015-12-16 02:14:23 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.