Options dropdown json not rendering for special case
Reported by Deleted User | February 9th, 2011 @ 10:24 AM | in Rundeck 1.2
The special case:
[ {"name":"name-foobar", "value": "value-foobar"}, ]
Causes the drop down to not render correctly.
[ {"name":"name-foobar", "value": "value-foobar"},
{"name":"name-foobar", "value": "value-foobar"}, ]
Does render correctly.
Comments and changes to this ticket
-
Greg Schueler February 16th, 2011 @ 06:31 PM
- State changed from new to awaiting_validation
what error occurs? i can't reproduce this.
job:
- project: test loglevel: INFO sequence: keepgoing: false strategy: node-first commands: - exec: echo opt1 is ${option.opt1} - exec: echo opt2 is ${option.opt2} description: options test name: test job options: opt1: valuesUrl: file:/Users/greg/rundeck12/test1.json opt2: valuesUrl: file:/Users/greg/rundeck12/test2.json
test1.json:
[ {"name":"name-foobar", "value": "value-foobar"}, ]
test2.json:
[ {"name":"name-foobar", "value": "value-foobar"}, {"name":"name-foobar", "value": "value-foobar"}, ]
-
Greg Schueler February 25th, 2011 @ 11:19 AM
- Assigned user set to Deleted User
-
Greg Schueler February 25th, 2011 @ 06:10 PM
- Assigned user changed from Deleted User to Greg Schueler
i was able to reproduce this: when option is set to "enforced from allowed values", and json has only one value
-
Deleted User February 25th, 2011 @ 06:37 PM
- State changed from awaiting_validation to resolved
(from [c7805d531f8e210c12c874dc96e7b7ab06d97533]) Validate JSON option input. Fix single-value option display [#200 state:resolved] https://github.com/dtolabs/rundeck/commit/c7805d531f8e210c12c874dc9...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues
People watching this ticket
Tags
Referenced by
- 200 Options dropdown json not rendering for special case (from [c7805d531f8e210c12c874dc96e7b7ab06d97533]) Validat...