Project

General

Profile

Bug #26912

"410 gone" alert popped up on UI after manifest file successfully uploaded.

Added by John Mitsch 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1708851

Description of problem:
"410 gone" alert popped up on katello UI after manifest file successfully uploaded.

How reproducible:
always

Steps to Reproduce:
1. Install katello.
2. Login to katello UI.
3. Click on the content sidebar and select Subscriptions
4. Upload manifest file.
5. Manifest file uploaded successfully.

Actual results:
After manifest file uploaded we observed "410 Gone" message on the Subscriptions screen.

Expected results:

This alert should not be displayed on the UI screen after manifest file uploaded.

Additional info:

This popped up alert didn't observe on katello

Associated revisions

Revision 444db0c5 (diff)
Added by John Mitsch 4 months ago

Fixes #26912 - Better error for subs page on 410

  • Fixes #26912 - Better error for subs page on 410

When a Susbscription Allocation is removed from Red Hat Subscription Manager and you
still import that manifest, you will see `410 GONE` errors, meaning the subscription allocation
no longe exists. This commit catches that error and responds with a more friendly message:

```
The Subscription Allocation providing the imported manifest has been removed.
Please create a new Subscription Allocation and import the new manifest.
```

History

#1 Updated by The Foreman Bot 5 months ago

  • Assignee set to John Mitsch
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8138 added

#2 Updated by Jonathon Turel 4 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0
  • Subject changed from "410 gone" alert popped up on UI after manifest file successfully uploaded. to "410 gone" alert popped up on UI after manifest file successfully uploaded.

#3 Updated by John Mitsch 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF