Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/active-choices-plugin
  Commit: d6247d2e80c7b0bd59cc6f3a63bf2519a845b349
      
https://github.com/jenkinsci/active-choices-plugin/commit/d6247d2e80c7b0bd59cc6f3a63bf2519a845b349
  Author: Rahul Somasunderam <[email protected]>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M src/main/java/org/biouno/unochoice/CascadeChoiceParameter.java
    M src/main/java/org/biouno/unochoice/ChoiceParameter.java
    M src/main/java/org/biouno/unochoice/DynamicReferenceParameter.java
    M src/test/java/org/biouno/unochoice/TestCascadeChoiceParameter.java
    M src/test/java/org/biouno/unochoice/TestChoiceParameter.java
    M src/test/java/org/biouno/unochoice/TestDynamicReferenceParameter.java

  Log Message:
  -----------
  fix: When configured using a pipeline, handle null filterable

When using pipelines, people tend to skip `filterable` as a parameter. That 
causes `filterable` to be set to `null`. Stapler would emit an empty string.

The prior behavior used javascript truthiness and treated it as `false`.

Since moving almost all javascript into separate files, the new behavior causes 
an empty string to be printed during the method call.

This change guarantees we emit a primitive `boolean` instead of a boxed 
`Boolean`.

Refs: JENKINS-71724


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/active-choices-plugin/push/refs/heads/master/d55f4b-d6247d%40github.com.

Reply via email to