Bug 1679385
| Summary: | Can't call method "sub_component_count happened while creating bug with non-exist component | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Rony Gong π₯ <qgong> |
| Component: | Creating/Changing Bugs | Assignee: | Jeff Fearn π <jfearn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lianghui Yu <liyu> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.0 | CC: | dominik, jan.public, khong, mkonecny, mkyral, msuchy, qgong, richardfearn, vkrizan |
| Target Milestone: | 5.0-RH6 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.0.4-rh27 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-08 14:20:51 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: | |||
*** 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. |
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: