Closed mamh2021 closed 1 year ago
1. for selectContent.jelly <j:forEach var="value" items="${effectiveValue}">
<j:forEach var="value" items="${effectiveValue}">
ParameterDefinitionInfo.effectiveValue always auto strip whitespace in forEach tag, so it will not match value to description
value is 111,22222 ,3333,444444
111,22222 ,3333,444444
description is aaa,bbb,ccc,ddd
aaa,bbb,ccc,ddd
2. in computeDefaultValueMap method defaultValues always trim
3. in computeDescriptionPropertyValueMap method , the map keys not were trim
so I suggest make the three to same strategy
extended-choice-parameter-plugin with the lastest source code at df7ecf9 * Update pom.xml
df7ecf9 * Update pom.xml
select "Basic Parameter Types" set value to 111,22222 ,3333,444444 set description to aaa,bbb,ccc,ddd
No response
Pull requests are welcome
Jenkins and plugins versions report
1. for selectContent.jelly
<j:forEach var="value" items="${effectiveValue}">
ParameterDefinitionInfo.effectiveValue always auto strip whitespace in forEach tag, so it will not match value to description
value is
111,22222 ,3333,444444
description is
aaa,bbb,ccc,ddd
2. in computeDefaultValueMap method defaultValues always trim
3. in computeDescriptionPropertyValueMap method , the map keys not were trim
so I suggest make the three to same strategy
What Operating System are you using (both controller, and any agents involved in the problem)?
extended-choice-parameter-plugin with the lastest source code at
df7ecf9 * Update pom.xml
Reproduction steps
select "Basic Parameter Types" set value to
111,22222 ,3333,444444
set description toaaa,bbb,ccc,ddd
Expected Results
Actual Results
Anything else?
No response