Hide Forgot
Description of problem: 'Can\'t call method "flag_types" on unblessed reference happened when create bug by xmlrcp with flag_type set Version-Release number of selected component (if applicable): 5.0.2.rh2 How reproducible: 100% Steps to Reproduce: 1.Try to create bug with set flag_type by xmlrpc xmlrpc.Bug.create({'product': 'Bugzilla', 'component': 'Administration', 'Bugzilla_login': 'redhat1', 'summary': 'xmlrpc test', 'version': '4.4', 'flags': [{'status': '?', 'name': 'requires_doc_text'}], 'Bugzilla_password': '****'}) Actual results: It reutrn error: 'fault_code': -32000, 'fault_string': 'Can\'t call method "flag_types" on unblessed reference at /var/www/html/bugzilla/Bugzilla/WebService/Util.pm line 41.\n'} Expected results: Additional info
This happened because some code from Bug 1188085 was not migrated across from the 4.4 to 5.0 tree. This caused flag processing on bug creation to fail.
Verified this issue. version 5.0.2.rh5. The result is PASS.