Project

General

Profile

Feature #12081

In Smart Class Parameter, The array elements should be validated with validator type 'list'.

Added by Jitendra Yejare about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Parameters
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

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.

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'.


Related issues

Has duplicate Foreman - Feature #12093: In Smart Class Parameter, The array elements should be validated with validator type 'list'.Duplicate2015-10-07

History

#1 Updated by Dominic Cleal about 6 years ago

  • Has duplicate Feature #12093: In Smart Class Parameter, The array elements should be validated with validator type 'list'. added

#2 Updated by Bryan Kearney about 6 years ago

  • Bugzilla link set to 1269398

Also available in: Atom PDF