Bug 1480758
Summary: | 404 error in the console logs | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Chris Kacerguis <ckacergu> |
Component: | API | Assignee: | Gregg Tanzillo <gtanzill> |
Status: | CLOSED WONTFIX | QA Contact: | Dave Johnson <dajohnso> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.8.0 | CC: | dclarizi, jhardy, obarenbo |
Target Milestone: | GA | ||
Target Release: | cfme-future | ||
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: | 2018-12-11 16:54:19 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
Chris Kacerguis
2017-08-11 20:01:08 UTC
In our codebase the request Chris K listed above produces a 404 when you try to get on service requests when a cart doesn't exist. We should talk about changing this to a different more appropriate status code or a different payload for status code 200 to indicate no car exists. For reference here is the snippet of code from our codebase that accomplishes this https://github.com/ManageIQ/manageiq-ui-service/blob/master/client/app/core/shopping-cart.service.js#L23-L36 |