Issue #7029
closedAccessing content for a distribution that is not assigned returns 404 which is confusing
Description
Ticket moved to GitHub: "pulp/pulpcore/1910":https://github.com/pulp/pulpcore/issues/1910
Today dkliban and I helped debug some 404 errors a user was hitting when trying to access their distribution through the content app. Turns out that distribution was not assigned to a publication. 404 is perhaps not the right error code (since the distribution exists) and also it would be more helpful to somehow alert the user that their distribution is not assigned.
Updated by daviddavis almost 3 years ago
- Subject changed from Accessing a distribution that is not assigned is unhelpful to Accessing a distribution that is not assigned returns 404 which is confusing
Updated by daviddavis almost 3 years ago
- Subject changed from Accessing a distribution that is not assigned returns 404 which is confusing to Accessing content for a distribution that is not assigned returns 404 which is confusing
- Description updated (diff)
Updated by dkliban@redhat.com almost 3 years ago
The server should return a 404 with an error message. E.g. 404: The distribution doesn't have a publication or repository version associated with it.
Updated by dkliban@redhat.com over 2 years ago
If the user requests the root of a distribution that doesnt' have a publication or repo version assigned to it, the user should receive a page that states that nothing is assigned to this distribution.
Updated by pulpbot about 1 year ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE