Description of problem:
Can't call method "sub_component_count happened while creating bug with non-exist component
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Try to create a Bugzilla bug by xmlrpc, but with a non-exist component
'fault_string': 'Can\'t call method "sub_component_count" on an undefined value at /var/www/html/bugzilla/extensions/SubComponents/Extension.pm line 931.\n'}
'fault_string': "There is no component named 'bne-test' in the 'Bugzilla' product."}
*** Bug 1693158 has been marked as a duplicate of this bug. ***
This breaks ABRT reporting. Any reporting. From Fedora and from RHEL. It is very serious problem.
Happy to say this bug has been resolved on latest branch.
It is giving back right error message now.
*** Bug 1695642 has been marked as a duplicate of this bug. ***
This change has been staged on partner bugzilla. Feel free to test it there and let us know if you have any issues.
This change is now live. If there are any issues, do not reopen this
bug. Instead, you should create a new bug and reference this bug.