Project

General

Profile

Bug #23535

Subscription quantity available should not show less than -1

Added by Jonathon Turel about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

-1 signifies an unlimited subscription. Lower than that is meaningless and confusing!

from /organizations/:id/subscriptions

{
"id": 8,
"cp_id": "4028f92462e434240162e4388ed20001",
"subscription_id": 6,
"name": "ZooProduct",
"start_date": "2018-04-20 14:02:12 -0400",
"end_date": "2048-04-12 13:02:12 -0500",
"available": -2,
"quantity": -1,
"consumed": 1,
"account_number": null,
"contract_number": null,
"support_level": null,
"product_id": "405389364906",
"sockets": null,
"cores": null,
"ram": null,
"instance_multiplier": 1,
"stacking_id": null,
"multi_entitlement": null,
"type": "NORMAL",
"product_name": "ZooProduct",
"unmapped_guest": false,
"virt_only": false,
"virt_who": false,
"upstream": false
}

Associated revisions

Revision d4f27ce5 (diff)
Added by Jonathon Turel about 3 years ago

Fixes #23535 - Pool available should not go less than -1

History

#1 Updated by Jonathon Turel about 3 years ago

  • Subject changed from Subscription quantity should not show less than -1 to Subscription quantity available should not show less than -1

#2 Updated by The Foreman Bot about 3 years ago

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

#3 Updated by Anonymous about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF