Bug 1693158

Summary: It throws an exception while creating a bug with non-exist component by xml-rpc
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: WebServiceAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.0CC: khong, qgong
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-27 10:14:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rony Gong 🔥 2019-03-27 09:15:57 UTC
Description of problem:
It throws an exception while creating a bug with non-exist component by xml-rpc

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
{'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:

Comment 1 Jeff Fearn 🐞 2019-03-27 10:14:47 UTC

*** This bug has been marked as a duplicate of bug 1679385 ***