stable

Clone or download

Read-only

request #21417 Radio button bound to user groups problem

How to test: 1. Setup a kanban (with any tracker) 2. Modify the kanban tracker. Add a radio button field bound to user groups (for example "Project Members", "Contributors", "Integrators", etc. Make sure to choose at least "Dynamic" user group as possible value like "Project Members". 3. Go to the kanban and click on "Add a new <tracker name>" button 4. The artifact modal will open and there will be an error like: "Syntax Error: Token '_3' is an unexpected token at column 4 of the expression [321_3] starting at [_3]" 5. If you select a value in the radio button field and submit the modal, the value will not be saved. This patch fixes the error and allows to save the radio button value. Change-Id: I9719e029e33dbafdee64698f12e5233dda09ecc4

Modified Files

Name
A plugins/tracker/scripts/lib/artifact-modal/src/fields/radio-button-field/radio-button-field-component.js +78 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html +6 −40 Go to diff View file