-
Bug
-
Resolution: Fixed
-
Critical
-
-
2.391
The implementation of our boolean radio button (see https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/lib/form/booleanRadio.jelly) does use a generated ID. When you have a repeatable describable (e.g. quality gates in the warnings plugin, or code coverage plugin) then this ID will be duplicated for all instances, i.e. the button will be toggled automatically for all instances rather than for the selected one only. We need to provide a way to make this ID unique.
- is related to
-
JENKINS-70739 Gradle step radioBlock uses non-unique ID
-
- Closed
-
-
JENKINS-70988 Credentials Binding step repeatable property uses non-unique ID
-
- Closed
-
-
JENKINS-70989 Text File Operations radio uses non-unique ID
-
- Closed
-
- links to
[JENKINS-70139] booleanRadio uses non-unique ID (regression in 2.335)
Labels | New: UX |
Labels | Original: UX | New: UX ux |
Attachment | New: Bildschirmaufnahme 2022-11-30 um 13.08.31.mov [ 59582 ] | |
Attachment | New: Bildschirmfoto 2022-11-30 um 13.10.33.png [ 59583 ] |
Summary | Original: booleanRadio uses non-unique field as name attribute | New: booleanRadio uses non-unique ID |
Description | Original: The implementation of our boolean radio button (see https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/lib/form/booleanRadio.jelly) does use the field name of the describable element as name. When you have a repeatable describable (e.g. quality gates in the warnings plugin) then this name will be duplicated for all instances, i.e. the button will be toggled automatically for all instances rather than for the selected one only. We need to provide a way to make this ID unique, see https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/lib/form/radio.jelly for an example. | New: The implementation of our boolean radio button (see https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/lib/form/booleanRadio.jelly) does use a generated ID. When you have a repeatable describable (e.g. quality gates in the warnings plugin, or code coverage plugin) then this ID will be duplicated for all instances, i.e. the button will be toggled automatically for all instances rather than for the selected one only. We need to provide a way to make this ID unique. |
Labels | Original: UX ux | New: UX regression ux |
Remote Link | New: This issue links to "Caused by PR #5923 (Web Link)" [ 28390 ] |
Summary | Original: booleanRadio uses non-unique ID | New: booleanRadio uses non-unique ID (regression in 2.335) |
Assignee | New: Benny Cheng [ benebsiny ] |
Remote Link | New: This issue links to "PR 7631 (Web Link)" [ 28469 ] |