Project

General

Profile

Bug #24197

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

Added by Tomáš Strachota about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
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.

Associated revisions

Revision e3c8094d (diff)
Added by Tomáš Strachota about 3 years ago

Fixes #24197 - prevent entering zero subscriptions

History

#1 Updated by Tomáš Strachota about 3 years ago

  • Triaged changed from No to Yes
  • Assignee set to Tomáš Strachota
  • Status changed from New to Assigned
  • Team Backlog UX added

#2 Updated by The Foreman Bot about 3 years ago

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

#3 Updated by Tomáš Strachota about 3 years ago

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

#4 Updated by Brad Buckingham about 3 years ago

  • Target version set to Katello 3.7.0

Also available in: Atom PDF