Hide Forgot
Bug 1354240 introduced an RPC api for administration of product milestones, versions and releases This needs to be ported to the 5.0 tree and tested.
Tested on QA environments(5.0.3-rh8) Result: Pass 1.Try to update product object: xmlrpc.RedHat.product_update_objects({'versions': [{'is_active': False, 'id': 3938, 'name': 'bne_test_update_1Kgb'}], 'Bugzilla_login': 'admin1', 'Bugzilla_password': '*****'}) ==> <Fault -32000: 'Can\'t locate object method "set_name" via package "Bugzilla::Version" at /loader/0x7f721adcc2a0/Bugzilla/Extension/RedHat/WebService/Bugzilla.pm line 848.\n'> <type 'exceptions.Exception'>
Tested on QA environments(5.0.3-rh9) Result: Failed Steps: 1.Try to update object disable. xmlrpc.RedHat.product_update_objects({'versions': [{'is_active': False, 'id': 3960, 'name': 'bne_test_update_kmTT'}], 'Bugzilla_login': 'admin1', 'Bugzilla_password': '*****'}) <Fault -32000: 'Can\'t locate object method "set_is_active" via package "Bugzilla::Version" at /loader/0x7fd03c709c08/Bugzilla/Extension/RedHat/WebService/Bugzilla.pm line 857.\n'> <type 'exceptions.Exception'>
Looks like version has a different subname for this ... Bugzilla/Version.pm:sub set_isactive { $_[0]->set('isactive', $_[1]); } Vs Bugzilla/Product.pm:sub set_is_active { $_[0]->set('isactive', $_[1]); }
Tested on QA environment(5.0.3-rh11) Result: Pass