← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1655487] [NEW] Create Container [enter] on blank field raises error

 

Public bug reported:

If you leave the field blank, the 'Submit' button is disabled. However,
if you press 'Enter' it will trigger an action and raise this error
behind the modal:

"Danger there was an error submitting the form."

This is on the server side:
Forbidden (CSRF token missing or incorrect.): /project/containers/
[10/Jan/2017 23:02:30] "POST /project/containers/ HTTP/1.1" 403 2274

Speculation:
Seems like it's only for schema forms? Same issue with this one: https://review.openstack.org/#/c/344572/
Does not seem to occur when the HTML template is used (no issue here: https://review.openstack.org/#/c/341945/). The other difference is that this uses a modal workflow...?

** 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/1655487

Title:
  Create Container [enter] on blank field raises error

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If you leave the field blank, the 'Submit' button is disabled.
  However, if you press 'Enter' it will trigger an action and raise this
  error behind the modal:

  "Danger there was an error submitting the form."

  This is on the server side:
  Forbidden (CSRF token missing or incorrect.): /project/containers/
  [10/Jan/2017 23:02:30] "POST /project/containers/ HTTP/1.1" 403 2274

  Speculation:
  Seems like it's only for schema forms? Same issue with this one: https://review.openstack.org/#/c/344572/
  Does not seem to occur when the HTML template is used (no issue here: https://review.openstack.org/#/c/341945/). The other difference is that this uses a modal workflow...?

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


Follow ups