{"action":"created","issue":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/1998","repository_url":"https://api.github.com/repos/rundeck/rundeck","labels_url":"https://api.github.com/repos/rundeck/rundeck/issues/1998/labels{/name}","comments_url":"https://api.github.com/repos/rundeck/rundeck/issues/1998/comments","events_url":"https://api.github.com/repos/rundeck/rundeck/issues/1998/events","html_url":"https://github.com/rundeck/rundeck/issues/1998","id":170413520,"number":1998,"title":"[Options Providers] 2.6.9 - display of sorted options does not respect \"preserveOrder\" or definition settings","user":{"login":"katanafleet","id":6132120,"avatar_url":"https://avatars.githubusercontent.com/u/6132120?v=3","gravatar_id":"","url":"https://api.github.com/users/katanafleet","html_url":"https://github.com/katanafleet","followers_url":"https://api.github.com/users/katanafleet/followers","following_url":"https://api.github.com/users/katanafleet/following{/other_user}","gists_url":"https://api.github.com/users/katanafleet/gists{/gist_id}","starred_url":"https://api.github.com/users/katanafleet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katanafleet/subscriptions","organizations_url":"https://api.github.com/users/katanafleet/orgs","repos_url":"https://api.github.com/users/katanafleet/repos","events_url":"https://api.github.com/users/katanafleet/events{/privacy}","received_events_url":"https://api.github.com/users/katanafleet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rundeck/rundeck/milestones/46","html_url":"https://github.com/rundeck/rundeck/milestones/2.6.10","labels_url":"https://api.github.com/repos/rundeck/rundeck/milestones/46/labels","id":1924333,"number":46,"title":"2.6.10","description":"","creator":{"login":"gschueler","id":55603,"avatar_url":"https://avatars.githubusercontent.com/u/55603?v=3","gravatar_id":"","url":"https://api.github.com/users/gschueler","html_url":"https://github.com/gschueler","followers_url":"https://api.github.com/users/gschueler/followers","following_url":"https://api.github.com/users/gschueler/following{/other_user}","gists_url":"https://api.github.com/users/gschueler/gists{/gist_id}","starred_url":"https://api.github.com/users/gschueler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschueler/subscriptions","organizations_url":"https://api.github.com/users/gschueler/orgs","repos_url":"https://api.github.com/users/gschueler/repos","events_url":"https://api.github.com/users/gschueler/events{/privacy}","received_events_url":"https://api.github.com/users/gschueler/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":30,"state":"open","created_at":"2016-08-04T20:53:34Z","updated_at":"2016-11-03T15:18:45Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-08-10T13:12:30Z","updated_at":"2016-11-03T18:16:40Z","closed_at":null,"body":"We were waiting for 2.6.9 options provider improvements thanks a lot.\nUnfortunately, it seems that options are not always sorted in defined order that has been set in GUI or XML \"preserveOrder\" tag ?  \n\nWe have the issue when there's dependencies between option A => B so B is displayed before A even if we set A before B in the GUI.\n\nSimple options can also be mixed between definition and display ...\n\ncf. job sample zip and attached and screenshots associated.\n\n![2016-08-10 14_56_18-rundeck - edit job](https://cloud.githubusercontent.com/assets/6132120/17554750/b6bc1240-5f0c-11e6-9672-d849830e9139.png)\n![2016-08-10 14_53_10-rundeck - prepare](https://cloud.githubusercontent.com/assets/6132120/17554757/ba67ad50-5f0c-11e6-818f-4e735e7a1e74.png)\n[Prepare.zip](https://github.com/rundeck/rundeck/files/411106/Prepare.zip)\n"},"comment":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/comments/258228931","html_url":"https://github.com/rundeck/rundeck/issues/1998#issuecomment-258228931","issue_url":"https://api.github.com/repos/rundeck/rundeck/issues/1998","id":258228931,"user":{"login":"gschueler","id":55603,"avatar_url":"https://avatars.githubusercontent.com/u/55603?v=3","gravatar_id":"","url":"https://api.github.com/users/gschueler","html_url":"https://github.com/gschueler","followers_url":"https://api.github.com/users/gschueler/followers","following_url":"https://api.github.com/users/gschueler/following{/other_user}","gists_url":"https://api.github.com/users/gschueler/gists{/gist_id}","starred_url":"https://api.github.com/users/gschueler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschueler/subscriptions","organizations_url":"https://api.github.com/users/gschueler/orgs","repos_url":"https://api.github.com/users/gschueler/repos","events_url":"https://api.github.com/users/gschueler/events{/privacy}","received_events_url":"https://api.github.com/users/gschueler/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T18:16:40Z","updated_at":"2016-11-03T18:16:40Z","body":"Since the GUI manual ordering is now available, I'm going to change the behavior to this:\r\n\r\n* always show options in the order defined\r\n\r\nThe sorting was intended to automatically put the options in the natural order based on the cascading order, however that was when there was no way to manually order them in the GUI.  Now that you can do that it makes more sense to just use that ordering always."}}
{"actor":{"display_login":"gschueler"}}