-
Improvement
-
Resolution: Unresolved
-
Minor
From https://github.com/biouno/uno-choice-plugin/issues/36
When you select Active Choice parameters in the Jenkins UI, and then filter the selections, your previous choices are gone.
- is duplicated by
-
JENKINS-50837 [ActiveChoicePlugin] FIlter is not working properly with the ActiveChoice plugin version 1.5.3
- Fixed but Unreleased
-
JENKINS-51054 Enable Filter is only passing the filtered value but not the all selected item in Active Choice Reactive Parameter
- Fixed but Unreleased
We must also consider the two closed duplicated tickets. In one of them (51054) it appears that a simpler approach would be enough to fix the use case of the user. One where we do not clear the selections.
However, not sure what happens if we have items A, B[selected], C[seleted] in the first state. Then the user changes another parameter and then the items displayed are now only A, C[selected]... not sure if the user would still want B[selected] if B is displayed again, or if it would be in a reset/clear state. If the latter, that's much easier.
Also, we could suggest the simplest solution (not clearing selections), instead of maintaining the full state of selections between states (much harder, with more risk of bugs).
For later, as this will probably need at least a minor version release. Next release will be probably patch/bugs.