Error causes image creation window to loose values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description of problem:
In 'Create An Image' widow, when inserting an illegal URL in image location field, the action fails and the image format field looses its content
Version-Release number of selected component (if applicable):
python-
How reproducible:
sometimes
Steps to Reproduce:
1. From 'Create An Image' window, insert an illegal URL in image location field
2. Try to confirm the creation image
Actual results:
The format field is not configured, although it was
Expected results:
The format field should stay as it was configured
Additional info:
From horizon log:
[Mon Jun 22 09:19:12.758853 2015] [:error] [pid 21067] File "/usr/share/
[Mon Jun 22 09:19:12.758997 2015] [:error] [pid 21067] return image
[Mon Jun 22 09:19:12.759045 2015] [:error] [pid 21067] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:19:33.647517 2015] [:error] [pid 21068] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:19:33.655274 2015] [:error] [pid 21068] Traceback (most recent call last):
[Mon Jun 22 09:19:33.655319 2015] [:error] [pid 21068] File "/usr/share/
[Mon Jun 22 09:19:33.655379 2015] [:error] [pid 21068] return image
[Mon Jun 22 09:19:33.655418 2015] [:error] [pid 21068] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:20:07.599046 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:20:07.606163 2015] [:error] [pid 21069] Traceback (most recent call last):
[Mon Jun 22 09:20:07.606205 2015] [:error] [pid 21069] File "/usr/share/
[Mon Jun 22 09:20:07.606293 2015] [:error] [pid 21069] return image
[Mon Jun 22 09:20:07.606336 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:21:05.728746 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:21:05.728826 2015] [:error] [pid 21069] Traceback (most recent call last):
[Mon Jun 22 09:21:05.728846 2015] [:error] [pid 21069] File "/usr/share/
[Mon Jun 22 09:21:05.728923 2015] [:error] [pid 21069] return image
[Mon Jun 22 09:21:05.728972 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:21:26.640919 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:21:26.640967 2015] [:error] [pid 21069] Traceback (most recent call last):
[Mon Jun 22 09:21:26.640990 2015] [:error] [pid 21069] File "/usr/share/
[Mon Jun 22 09:21:26.641080 2015] [:error] [pid 21069] return image
[Mon Jun 22 09:21:26.641123 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment
Changed in horizon: | |
status: | New → Confirmed |
and a duplicate of https:/ /bugs.launchpad .net/horizon/ +bug/1467787