Red Hat Bugzilla – Bug 803757
Systems: Users should not be able to enter anything other than positive integers for sockets
Last modified: 2015-05-14 12:04:05 EDT
Description of problem:
When handrolling a system, users can enter non-integer values in the "Number of Sockets or LPARs" field.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Systems > +New System
2. Create a new system, providing a name, an arch; enter the value "-1" in the "Number of Sockets or LPARs" field.
3. Systems > $system > Details > Facts > cpu ; view results.
4. Repeat steps 1-3 with any of the following strings
"3-2", "abc", "四"
Values other than non-positive integers are allowed
Only positive integers are allowed
< bkearney> cswiii: the sockets fact is used
< cswiii> bkearney: in what way? and if it's used, I guess I shouldn't be able to enter random text in that field.
< bkearney> cswiii: no.. numbers are preferred :)
turns out this is an issue with Candlepin accepting these values.
Candlepin 0.7.24 and beyond contain this fix. I am closing this out. If you are still seeing issues, pelase feel free to re-open it.