Project

General

Profile

Actions

Bug #23535

closed

Subscription quantity available should not show less than -1

Added by Jonathon Turel almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
trivial
Triaged:
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
}

Actions #1

Updated by Jonathon Turel almost 6 years ago

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

Updated by The Foreman Bot almost 6 years ago

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

Updated by Anonymous almost 6 years ago

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

Also available in: Atom PDF