| Summary: | Return after delete an app should not cause exception. | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Yujie Zhang <yujzhang> |
| Component: | Website | Assignee: | Clayton Coleman <ccoleman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.x | CC: | ccoleman, ffranz, xtian |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-27 20:46:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Yujie Zhang
2012-03-16 10:31:30 UTC
In production this should display the standard 404 page - which is what I would expect if the app was deleted (just like if i followed the link in). There's not much we can do here because the browser is caching that previous page, not us. Would a better 404 page for apps satisfy your concerns? (In reply to comment #1) > In production this should display the standard 404 page - which is what I would > expect if the app was deleted (just like if i followed the link in). > > There's not much we can do here because the browser is caching that previous > page, not us. > > Would a better 404 page for apps satisfy your concerns? Yes, Return 404 is better than code exceptions. Thanks Test this issue on stage, will not return 404 code exception, but error message which says "We're sorry, but something went wrong.We've been notified about this issue and we'll take a look at it shortly." Is this expected ? Hrm, I would have expected the 404 page to show up. I'll dig into it on stage. Probably need a generic rescue_from for ActiveResource::ResourceNotFound that sets 404 correctly. All pages should display the generic 404 in dev mode and in production mode. Eventually we may want to revert this for debugging purposes in dev mode. Tested this issue on stage, it will return "Page not found" message, so verify this bug. Tested this issue on stage, it will return "Page not found" message, so verify this bug. |