yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33730
[Bug 1464991] [NEW] Errors are not handled correctly during image updates
Public bug reported:
To reproduce:
Log in to horizon as unprivileged user. Navigate to image editing, try
to mark an image as public.
Observed result: an error message, stating: Danger: There was an error submitting the form. Please try again.
Logs indicate, that an UnboundLocalError occurrs
File "/Users/teferi/murano/horizon/openstack_dashboard/api/glance.py", line 129, in image_update
return image
UnboundLocalError: local variable 'image' referenced before assignment
This is because image variable is not handled correctly in image_update
function.
** Affects: horizon
Importance: Undecided
Assignee: Kirill Zaitsev (kzaitsev)
Status: New
** Changed in: horizon
Assignee: (unassigned) => Kirill Zaitsev (kzaitsev)
--
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/1464991
Title:
Errors are not handled correctly during image updates
Status in OpenStack Dashboard (Horizon):
New
Bug description:
To reproduce:
Log in to horizon as unprivileged user. Navigate to image editing, try
to mark an image as public.
Observed result: an error message, stating: Danger: There was an error submitting the form. Please try again.
Logs indicate, that an UnboundLocalError occurrs
File "/Users/teferi/murano/horizon/openstack_dashboard/api/glance.py", line 129, in image_update
return image
UnboundLocalError: local variable 'image' referenced before assignment
This is because image variable is not handled correctly in
image_update function.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1464991/+subscriptions
Follow ups
References