Status: Open (View Workflow)
Environment:Jenkins version 1.451.
Jenkins run through mvn hpi:run.
See system info in attachment for further information.
Browser: Google Chrome 17 and Firefox 10
When defining a select box like this:
and validating the value through a
method, it can be observed that the validation method is called two times when opening the configuration menu (http://localhost:8080/configure). The first time, the correct default value, i.e., the selected item's value, is passed to the validation method. The second time, no data is passed in (see following code listing for output).
The code is additionally available on GitHub:
Data is provided in the following way:
|Field||Original Value||New Value|
|Component/s||jenkins-plugin-runtime [ 16320 ]|
|Assignee||Jørgen Tjernø [ jorgenpt ]|
|Component/s||core [ 15593 ]|
|Component/s||plugin-proposals [ 15491 ]|
|Workflow||JNJira [ 143260 ]||JNJira + In-Review [ 175853 ]|