Description of problem: Seeing a 404 appear in the console logs (seeing this with multiple versions / instances). This is the URL that I'm seeing: https://DOMAIN/api/service_orders/cart/service_requests/ 404 (Not Found) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Go to any page in the SUI 2. Look at the console. 3. Actual results: Expected results: There should not be any 404 calls. Additional info:
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