Cannot generate ordered parameter select lists

Hi

This is really a vote to treat as a bug the issue raised here:  https://devnet.jetbrains.com/message/5473200#5473200

Briefly, if you define a parameter as a select list with more than 3 or 4 options then the order in which you enter these options in the gui will not be preserved
when a user displays the list, for example when running an ad hoc build.
The reason is that the list as generated by TeamCity uses key-value pairs where the keys have the form <fieldname>_number, where number increases
(by more than 1) as each option is added, these number values are then used to sort the displayed list, but this sort is textual not numeric so, for example,
item '3' appears after item '12'.

The fix is to hand-edit the generated list in the raw data box, but you have to remember to redo this each time you change the the number of items in the list.
Not a major problem, but irritating.

1 comment
Comment actions Permalink

Hi,

I have created the request in our tracker: https://youtrack.jetbrains.com/issue/TW-41957. Please watch and vote for it.

0

Please sign in to leave a comment.