Bug 211411
| Summary: | bugzilla loses change states | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Don Zickus <dzickus> |
| Component: | Bugzilla General | Assignee: | Bernd Groh <bgroh> |
| Status: | CLOSED DEFERRED | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | devel | CC: | ebaak |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-11-30 00:08:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Don Zickus
2006-10-18 22:15:44 UTC
Don't you get a return status that allows you to see whether the call was successful or not? Dave, could you please help us with this? Unfortunately the system.multicall does not return a success/fail code until all calls are completed successfully. That is the nature of XMLRPC itself. It only prints the data structure containing the response at the very end. Have you tried just calling bugzilla.changeStatus() from your client multiple times instead of using system.multicall? This may should you if one or more are failing somewhere or which bugs are taking the longest. Remember some bugs are part of blocker bugs and alot of processing is required to notified all people attached to each of the bugs. Single bugs not connected to other bugs with only a few email recipients should process rather quickly. Calling bugzilla.changeStatus multiple times is probably a good work around. I just suck at writing perl so while converting from a system.multicall isn't too difficult (modify the loop to instead of pushing to execute the call). But collecting the output so I can display it might give me indigestion (maybe I don't care for output though..). Thanks. The only thing i thing that gets returned is who was/wasn't emailed about the change. So you typically just ignore that. perl code would look like: use XMLRPC::Lite; use Data::Dumper; my @bugids = [1434,34554,34553] my @results = (); my $rpc = new XMLRPC::Lite (proxy=>'https://bugzilla.redhat.com/bugzilla/zmlrpc.cgi'); foreach my $id (@bugids) { my $call = $rpc->call('bugzilla.changeStatus', 'MODIFIED', $username, $password); push (@results, $call->result); } print Dumper(\@results); Thanks, I'll give that a whirl.. Closing this bug now as DEFERRED, as it is an issue we should look at in future. |