Description of problem: 2.18: Bugzilla::RPC::getBugActivity returns an ARRAY reference. getBugActivity returns the value returned from GetBugActivity in CGI.pl which is a reference to an ARRAY containing (\@operations, $incomplete_data). 3.2: extensions/compat_xmlrpc/code/webservice.pl getBugActivity returns a HASH reference. ($item{operations}, $item{incomplete_data}) = Bugzilla::Bug::GetBugActivity($bug_id); ... return \%item; We need to change this to return the original ARRAY reference instead. return ($item{operations}, $item{incomplete_data});
This breaks bugbot functionality currently.
Created attachment 311413 [details] Patch to change bugzilla.getBugActivity() to return ARRAY reference (v1) Hey Noura, I went ahead and created a simple patch to fix the return value for bugzilla.getBugActivity to match 2.18 behaviour. Please review if you can. Thanks Dave
Comment on attachment 311413 [details] Patch to change bugzilla.getBugActivity() to return ARRAY reference (v1) Hi Dave, patch looks good and works nicely, I committed few things to webservice.pl so this patch might need to be applied manually. Noura
Thanks Noura. Checked in.
The changes have been pushed to partner-bugzilla.redhat.com and/or have been recorded in the Bugzilla migration pages on the Bugzilla 3 upgrade Wiki. Closing as NEXTRELEASE. Dave