Actions
Bug #23535
closedSubscription quantity available should not show less than -1
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
}
Updated by Jonathon Turel almost 8 years ago
- Subject changed from Subscription quantity should not show less than -1 to Subscription quantity available should not show less than -1
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7362 added
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|d4f27ce5a2d92331d1a2e80d39434c9db76435b1.
Actions