Bug 235281
Summary: | Return 404 instead of 500 on unknown xml. | ||
---|---|---|---|
Product: | [Retired] Red Hat Network | Reporter: | James Bowes <jbowes> |
Component: | RHN/Backend | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sanda <jsanda> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rhn500 | CC: | bkearney, rhn-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 5.0.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-07-25 15:14:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 239809 |
Description
James Bowes
2007-04-04 20:02:22 UTC
RHN wasn't returning 500 already. The fix as implemented simply logs an unknownXML error, rather than sending a traceback email. To test: - install the content management tools - run 'rhn-manage-channel-internal --server=http://xmlrpc.rhn.webqa.redhat.com/XMLRPC --list --label rhel-5' - You'll get an error on the client, but not that no traceback email is sent - if debugging is turned up to 4 or higher, a message will be logged in rhn.log Here is what I see when I run the command in Comment 2: [jsanda@espresso ~]$ rhn-manage-channel-internal --server=http://xmlrpc.rhn.webqa.redhat.com/XMLRPC --list --label rhel-5 Red Hat Network username: jsanda_qa Red Hat Network password: While running 'channel.lookupChannel': caught <type 'instance'> : Invalid request received (class xmlrpc.channel is not defined (function = lookupChannel)). Did not find any traceback emails that were sent. Verified in webqa. Verified in stage. rhn502 released. |