Description of problem: In smart class Parameters, The array elements of key type array should be validated with Validator Type 'list'. As of now the array key type is not validated with validator type 'list'. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Override the default value of smart class parameter. 2. Select Key type array. 3. Provide the array of elements as new Default Value. 4. Select validator type as list. 5. Validator rule should have each element in array of step 3. Actual results: Expected results: On Submit, the change is successfully accepted as all the elements in array are present in validator rules list. If at least one element of array is not present in validator rules list, then It should allow to accept this change and should display the as 'element in not one of list'. Additional info:
Typo above in Expected Results: On Submit, the change is successfully accepted as all the elements in array are present in validator rules list. If at least one element of array is not present in validator rules list, then It shouldn't allow to accept this change and should display the as 'element in not one of list'.
Created redmine issue http://projects.theforeman.org/issues/12093 from this bug
Upstream bug component is Provisioning
Connecting redmine issue http://projects.theforeman.org/issues/12081 from this bug
Upstream bug component is Configuration Management
Upstream bug component is Smart Variables
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.