Backend: Refreshing catalog resource details page produces http 404
Summary
Currently, when a user navigates to a catalog resource details page from the search page, the page will render without any error. When they refresh the catalog resource details page like https://gitlab.com/explore/catalog/1000239, it will display a page not found (404) error.
Proposal
Some initial investigation shows that this could be an undefined route issue from backend where it works when a user navigates there because the route is pushed through VueRouter, but the actual route of catlaog/:resource_id
is not defined.
Fixing so the actual route is catalog/:resource_id
.
Confirm purpose and User Reception (how does this benefit the user?)
In case a user chooses to refresh the catalog resource details page, they won't encounter a page not found and then either give up or not know what to do.
Additional details
Some relevant technical details, if applicable, such as:
- Does this need a feature flag?
- Does there need to be an associated instrumentation issue created related to this work?
- Is there an example response showing the data structure that should be returned (new endpoints only)?
- What permissions should be used?
- Is this EE or CE?
-
EE -
CE
-
- Additional comments: