-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.277.4
uno-choice 2.5.6
A Javascript error is thrown (in browser console) when filtering an Active Choice Parameter with labelled checkbox choices.
The error :
unochoice.js:802 Uncaught TypeError: Cannot read properties of undefined (reading 'tagName')
at HTMLInputElement.<anonymous> (unochoice.js:802)
at HTMLInputElement.dispatch (jquery.full.js:5226)
at HTMLInputElement.elemData.handle (jquery.full.js:4878)
The config.xml :
<?xml version='1.1' encoding='UTF-8'?> <flow-definition plugin="workflow-job@2.40"> <properties> <hudson.model.ParametersDefinitionProperty> <parameterDefinitions> <org.biouno.unochoice.ChoiceParameter plugin="uno-choice@2.5.6"> <name>foo</name> <description></description> <randomName>choice-parameter-15212631359824743</randomName> <visibleItemCount>1</visibleItemCount> <script class="org.biouno.unochoice.model.GroovyScript"> <secureScript plugin="script-security@1.77"> <script>['foo': 'This is foo', 'bar': 'This is bar', 'baz': 'This is baz'] </script> <sandbox>true</sandbox> </secureScript> <secureFallbackScript plugin="script-security@1.77"> <script>['fallback']</script> <sandbox>true</sandbox> </secureFallbackScript> </script> <projectName>test-eci-activechoice</projectName> <projectFullName>test-eci-activechoice</projectFullName> <choiceType>PT_CHECKBOX</choiceType> <filterable>true</filterable> <filterLength>1</filterLength> </org.biouno.unochoice.ChoiceParameter> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> </properties> <definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="workflow-cps@2.92"> <script>pipeline { agent any stages { stage('Hello') { steps { echo 'Hello World' } } } } </script> <sandbox>true</sandbox> </definition> <disabled>false</disabled> </flow-definition>
- duplicates
-
JENKINS-67982 Active Choice filtering not working for checkboxes and radio options
- In Progress