← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360495] Re: boolean and json parameters in heat template do not appear in launch stack form

 

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

** Changed in: horizon
    Milestone: None => kilo-1

-- 
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/1360495

Title:
  boolean and json parameters in heat template do not appear in launch
  stack form

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  It appears the heat template parser has some issues handling boolean
  and json parameters. Use the following steps to reproduce my problem:

  1. Go to Stacks and click Launch Stack
  2. Set Template Source to Direct Input
  3. Paste the following template and then click next.

  heat_template_version: 2013-05-23
  parameters:
    str_param:
      type: string
    bool_param:
      type: boolean

  4. Note that the label of the second parameter is "str_param" instead of "bool_param", so both parameters have the same label.
  5. Cancel and repeat the test, but now set the type of the second parameter to string:

  heat_template_version: 2013-05-23
  parameters:
    str_param:
      type: string
    bool_param:
      type: string

  6. Note that now the label of the second parameter displays correctly.

  The same issue occurs with json parameters.

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


References