Bug 974085
| Summary: | Error updating component details via RPC | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Lubos Kocman <lkocman> |
| Component: | WebService | Assignee: | Simon Green <sgreen> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.4 | CC: | ebaak, qgong, rjoost |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.4-3.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-25 00:13:12 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: | |||
For the record, this happens when the value you are changing is currently unset. Despite the error, the change is still committed. Hello Simon, yeah I figured out that the changes was commited. Workaround was to change it bug by bug and continue in case that exception was raised :-) Thanks for having a look at it. Lubos This should now be fixed. |
Description of problem: I'm getting weird error while trying to update qa contact trough Component.update() Bugzilla::User::new_from_list does not sound much relevant to what I'm doing:-) xmlrpclib.Fault: <Fault 52: 'Invalid parameter passed to Bugzilla::User::new_from_list: It must be numeric.'> Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. bz_session.Component.update({'names' : [{'product' : 'Red Hat Enterprise Linux 7', 'component' : 'grilo-plugins'},], 'updates' : {'default_qa_contact': 'desktop-qa-list'}}) Actual results: xmlrpclib.Fault: <Fault 52: 'Invalid parameter passed to Bugzilla::User::new_from_list: It must be numeric.'> Expected results: Something like {'default_qa_contact': 'desktop-qa-list'} Additional info: