Bug 533052
| Summary: | Exceptions incorrectly return requestStatus == SUCCESS | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Dogtag Certificate System | Reporter: | John Dennis <jdennis> | ||||
| Component: | Certificate Manager | Assignee: | RHCS Maintainers <rhcs-maint> | ||||
| Status: | CLOSED EOL | QA Contact: | Ben Levenson <benl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.2 | CC: | dpal, jgalipea, rcritten | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 20:04:17 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: | 688231 | ||||||
| Attachments: |
|
||||||
|
Description
John Dennis
2009-11-04 20:09:02 UTC
Created attachment 369241 [details]
patch
attachment (id=369241) +awnuk It looks to me that that renderException() set request status to CMSRequest.EXCEPTION before getTemplateParams() is called. Is there any reason set request status again inside getTemplateParams()? Re comment #2. This is a good observation. In the current calling sequence resetting the status is redundant. However, also assuring it's set in getTemplateParams() is defensive programming in the service of robustness in case a different code path is taken for some reason. |