← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1364567] Re: The launch stack form does not honor stack parameter order

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1364567

Title:
  The launch stack form does not honor stack parameter order

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Heat templates can specify the order in which UIs should render
  parameters in the "ParameterGroups" section. Here is an example
  template that uses this feature:

  heat_template_version: 2013-05-23
  parameters:
    password:
      type: string
      hidden: true
    username:
      type: string
    some_number:
      type: number
  parameter_groups:
  - parameters:
    - some_number
  - parameters:
    - username
    - password

  This is saying that the parameters should be rendered in the following
  order:

  - some_number
  - username
  - password

  Optionally, the first parameter can be rendered separated from the
  other two (i.e. in different fieldsets), since they are in different
  groups.

  Horizon ignores all this and renders the parameters in the random
  order obtained by iterating on the "parameters" dictionary, which is
  separate from the parameter groups. When I run the above template, I
  get the order "username", "password", "some_number", which doesn't
  even match the order in which the parameters are given.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1364567/+subscriptions


References