Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job option (variable) auto-sorting as text the Allowed Values list #4389

Closed
Daryes opened this issue Jan 14, 2019 · 1 comment
Closed

Job option (variable) auto-sorting as text the Allowed Values list #4389

Daryes opened this issue Jan 14, 2019 · 1 comment
Assignees
Labels

Comments

@Daryes
Copy link

Daryes commented Jan 14, 2019

Describe the bug
When entering a list in the "Allowed Value" text area in a new option (or variable), the list is automatically sorted when the option is saved

My Rundeck detail

  • Rundeck version: 3.0.11
  • install type: deb
  • OS Name/version: Ubuntu 18.04

To Reproduce
Steps to reproduce the behavior:

  1. Create a new job or edit an existing one
  2. add a new option
  3. populate the mandatory informations
  4. select the Allowed Value text area, and enter : 15,30,60,90,180,360
  5. save the option.
  6. edit the saved option, check the Allowed Value area, the following information will be present : 15,180,30,360,60,90
    Of course, this sorted order will be kept in the job definition.

Expected behavior
expected list : 15,30,60,90,180,360
The saved value list should have been either not sorted, or numerically sorted.

@reinerrdeck
Copy link

Confirmed in 3.0.12 WAR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants