Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Options dropdown json not rendering for special case

#200

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.

Reported by Deleted User · February 9th, 2011 @ 10:24 AM

State: resolved
Milestone: Rundeck 1.2
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler
    • 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"}, ]
    

    February 16th, 2011 @ 06:31 PM

  2. Greg Schueler
    Greg Schueler
    • Assigned user set to Deleted User

    February 25th, 2011 @ 11:19 AM

  3. Greg Schueler
    Greg Schueler
    • 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

    February 25th, 2011 @ 06:10 PM

  4. Deleted User

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.