Text should not be accepted as a limit for activation keys and host collections
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1097054
Description of problem:
I was trying to update the system limit of selected activation key and trying to validate that limit with some special characters and strings. But when I entered a string and clicked on save, a spinner starts rotating with a text 'working'
And when I navigate away, the limit was set to same as it was originally.
Version-Release number of selected component (if applicable):
Satellite 6 Beta Snap 4
Steps to Reproduce:
1. create a activation key with system limit to 1
2. update the system limit with some string
updating the system limit with some string gives a spinner rotating with a text 'working'
user should get proper validation error.
This commit changes the way we handle limited fields such as Content Host
number of systems and Activation Key usage limit. Instead of representing
"unlimited" as -1 we now represent it as a boolean on the object.
#2 Updated by Walden Raines over 6 years ago
- Subject changed from Updating the system limit (of activationkey) with a invalid string gives rotating spinner with text 'working' to Text should not be accepted as a limit
- Target version set to 49
- Difficulty set to medium
- Triaged changed from No to Yes
This issue should fix both activation keys and system groups for both client and server.