Project

Profile

Help

Issue #7029

closed

Accessing content for a distribution that is not assigned returns 404 which is confusing

Added by daviddavis over 3 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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.

Actions #1

Updated by daviddavis over 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
Actions #2

Updated by daviddavis over 3 years ago

  • Description updated (diff)
Actions #3

Updated by daviddavis over 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)
Actions #4

Updated by dkliban@redhat.com over 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.

Actions #5

Updated by fao89 over 3 years ago

  • Triaged changed from No to Yes
Actions #6

Updated by dkliban@redhat.com over 3 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.

Actions #7

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF