← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1526698] [NEW] Can not create Heat stack with boolean parameter with False value

 

Public bug reported:

In horizon in Orchestration panel I want to create Heat stack with
template:   [pic1]

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

After setting all necessary parameters I want to use bool_param with False value.
But it raise error, that I should specify this parameter. [pic2]

I understand, that workaround is to use default False for this
parameter.

However, I think, that it's a bug, because mentioned workaround does not
apply for case, when I want to have parameter without default value. It
may be necessary, when some important logic is used in template and I
want to attract an attention of user to make a choice between False or
True.

Probably will be good to replace checkbox on some list with possible
options.

** Affects: horizon
     Importance: Undecided
         Status: New

** Attachment added: "Pictures.zip"
   https://bugs.launchpad.net/bugs/1526698/+attachment/4535556/+files/Pictures.zip

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

Title:
  Can not create Heat stack with boolean parameter with False value

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In horizon in Orchestration panel I want to create Heat stack with
  template:   [pic1]

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

  After setting all necessary parameters I want to use bool_param with False value.
  But it raise error, that I should specify this parameter. [pic2]

  I understand, that workaround is to use default False for this
  parameter.

  However, I think, that it's a bug, because mentioned workaround does
  not apply for case, when I want to have parameter without default
  value. It may be necessary, when some important logic is used in
  template and I want to attract an attention of user to make a choice
  between False or True.

  Probably will be good to replace checkbox on some list with possible
  options.

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


Follow ups