|
||||||||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

The bug is really in core: the @DataBoundConstructor parameter type does not match the type of the getter.
The easiest fix would be to rename the constructor parameter to choicesText, which already has a getter. But this forces a workflow to use the ugly syntax.
Better would be to change the constructor parameter to be List<String>. Requires some mucking around with the config.jelly, perhaps by switching to an actual list control; or by overriding configure(StaplerRequest, JSONObject) in the descriptor to replace choices with choicesText.