← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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 OpenStack Dashboard (Horizon):
  New

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/horizon/+bug/1360244/+subscriptions


Follow ups

References