← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1464991] Re: Errors are not handled correctly during image updates

 

** Also affects: horizon/kilo
   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/1464991

Title:
  Errors are not handled correctly during image updates

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) kilo series:
  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


References