← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1355373] Re: [data processing] Image registry lists images twice for admin

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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/1355373

Title:
  [data processing] Image registry lists images twice for admin

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  *low pirority*

  If you log in as the admin user and go to the Data Processing -> Image
  Registry, you will notice that the image dropdown might list each
  image twice (if an image is loaded for the admin project and is
  public, it will be shown twice).

  The following code (data_image_registry/forms.py) builds up a list
  that might contain duplicates, and the possibility of duplicates is
  never checked later down the line.

          images = self._get_tenant_images(request)
          if request.user.is_superuser:
              images += self._get_public_images(request)

  
  The image dropdown should prevent images from showing up twice.

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


References