Public bug reported:

*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.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: sahara

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to