Race condition at container create form
Bug #2047135 reported by
Vadym Markov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
New
|
Undecided
|
Unassigned |
Bug Description
Issue manifests when user pastes container name and immediately clicks confirm button at the container create form. In case of issue created container named “undefined“ instead of name provided by form. Timeframe for such behavior is very strict, so it affects mostly tests. User can hit an issue in case of very slow connection to Horizon.
Most probable cause of issue is $asyncvalidator feature of form. It does some requests to Swift API to check if such container exists and triggered by any input to name field. Form submitted until all validation requests are resolved is invalid. $pending AngularJS feature should handle it, but it seems to be unsupported in schema-form
To post a comment you must log in.