Description of problem: In Subscriptions > Add Subscriptions, adding an invalid or negative quantity results in quantity defaulting to all available subscriptions Version-Release number of selected component (if applicable): QCI-1.0-RHEL-7-20160830.t.0 How reproducible: 100% Steps to Reproduce: 1. Install/configure QCI 2. Deploy RHV 3. At Subscriptions > Add Subscriptions, enter an invalid value (e.g. H) or negative value (e.g -3) 4. Examine value added Actual results: Maximum available subscriptions for that row Expected results: Error/warning Default to zero new entitlements Additional info: Entering a fraction results in a rounded down (floor) quantity Customers should not be able to detach prior subscriptions using QCI. Customer Portal would be the correct place.
https://github.com/fusor/fusor/pull/1238 Incorrect submissions (empty and in the right number range) will highlight red, and focusing out will change it to 0.
Verified on QCI-1.1-RHEL-7-20161006.t.0.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:0335