← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360244] Re: Heat - Select template doesn't check well template source method

 

heat panel is split out to heat-dashboard. Retargeting to heat-
dashboard.


** Project changed: horizon => heat-dashboard

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

Title:
  Heat - Select template doesn't check well template source method

Status in heat-dashboard:
  Confirmed

Bug description:
  On Horizon Icehouse 2014.1.1 release and Heat Icehouse 2014.1.1
  release.

  HOW TO REPRODUCE
  ---------------------------------
  1.- Go to http://mydomain/dashboard/project/stacks/select_template
  2.- Select "URL" template source
  3.- Fill the URL field with an URL to a file with invalid syntax and click "Next"
  3.- Horizon raises a correct error message about the syntax. OK
  4.- Change template source to "Direct input"
  5.- Fill textarea field with whatever characters (it doesn't matter) and click "Next"
  6.- Horizon raises this error message: "Please specify a template using only one source method." ?????

  CONCLUSION
  --------------------
  So, the problem is: Horizon doesn't remove the data from HTML fields, on "select template" webpage, when something was wrong. Then, when you try another template source, Horizon doesn't remove the data from the other HTML fields before to execute the HTML form.

  My question, is this the behavior expected?. I was expecting that
  Horizon checks only the information about the "template source" that
  selected right now, not to check the previous selection.

To manage notifications about this bug go to:
https://bugs.launchpad.net/heat-dashboard/+bug/1360244/+subscriptions


References