Description of problem: On the new edit limits form, if the initial value of the limit to be edited is "Unlimited", the checkbox should be checked (and the field set to read-only), but right now an initial value of "Unlimited" does not have that result (the box is editable and the checkbox is unchecked) Version-Release number of selected component (if applicable): Only appears in a devel build How reproducible: 100% Steps to Reproduce: 1. Edit a limit so that the value is "Unlimited" 2. Go back to the limits page and choose the "unlimited" limit to edit 3. Note that the checkbox is unchecked and the input box is editable. Actual results: Note that the checkbox is unchecked and the input box is editable. Expected results: The checkbox shoudl be checked and the input box is set to readonly mode Additional info:
Fixed in revision 4809.
Verified with cumin-0.1.4878-1.el5
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: C: When going to edit limits, an initial value of "unlimited" would cause the unlimited checkbox to not make sense because its initial state was unchecked. C: The inital value was not being factored-in when displaying the checkbox. F: When displaying the checkbox, we now look at the initial value, if the value is "unlimited", the box will be checked by default. R: