Project

General

Profile

Actions

Bug #24197

closed

Subscription update value of 0 passes UI validation, but fails in task.

Added by Tomáš Strachota almost 6 years ago. Updated almost 6 years ago.

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

Description

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

Description of problem:
Entering a value of 0, in the entitlements field, passes the UI validation. However, the task itself will fail with "Quantity value must be greater than 0".

See attached screenshot

Version-Release number of selected component (if applicable):
6.4 Snap 9

How reproducible:
Always

Steps to Reproduce:
1. Upload a manifest with subscriptions.
2. Navigate to the Subscriptions page
3. Edit an entitlements field, and enter a value of 0

Actual results:
There are no validation warnings, and you can submit changes.

Expected results:
Validation checks catch the bad value and does not let you submit changes.

Actions

Also available in: Atom PDF