Project

General

Profile

Bug #25464

Non-unlimited guest subscriptions breaks subscription page inline edit

Added by Andrew Kofink about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

We assumed guest subscriptions are unlimited, but there are some that have available quantities > 0.

Reproduce:
Create some virt-who guest subscriptions (have a virt-who hypervisor, attach a physical sub to it)
Ensure the guest subscription has a quantity > 0 (updating the pool using the Rails console is fine for reproducing)
Navigate to the subscriptions page

Actual:
No upstream pool ID was found for Katello::Pool with ID: 229. Guest subscriptions

Expected:
No JS errors - no guest subscriptions are editable. Further, no pools without upstream pool IDs should have editable entitlement quantities.

Associated revisions

Revision ac0620f2 (diff)
Added by Andrew Kofink 12 months ago

Fixes #25464: Handle non-unlimited guest subs

Handle non-unlimited guest subscriptions in the subscriptions page. Do
not allow editing said rows, and prevent the UI from creating a text box
when the user hovers.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7837 added

#2 Updated by Andrew Kofink about 1 year ago

  • Target version set to Katello 3.9.1

#3 Updated by Andrew Kofink about 1 year ago

  • Triaged changed from No to Yes

#4 Updated by Brad Buckingham about 1 year ago

  • Bugzilla link changed from 1601429 to 1648252

#5 Updated by Andrew Kofink 12 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot 12 months ago

  • Pull request https://github.com/Katello/katello/pull/7853 added

Also available in: Atom PDF