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): How reproducible: Steps to Reproduce: 1.Try to create a Bugzilla bug by xmlrpc, but with a non-exist component 2. 3. Actual results: It returns {'fault_code': -32000, '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'} Expected results: {'fault_code': 51, 'fault_string': "There is no component named 'bne-test' in the 'Bugzilla' product."} Additional info:
*** 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. Result: PASS
*** 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. https://partner-bugzilla.redhat.com
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.