Bug 1109420

Summary: [RFE] Automatically discover Image Format based on image file extension
Product: Red Hat OpenStack Reporter: Matt Reid <mreid>
Component: python-django-horizonAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: aberezin, aortega, jpichon, mrunge, slong, ssainkar, yeylon
Target Milestone: betaKeywords: FutureFeature
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-2014.2-4.el7ost Doc Type: Enhancement
Doc Text:
The "Format" field in the dashboard's Create Image window is now automatically populated after the user fills out the Image Source and Image File fields. Automatic population is based on the image file's extension.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-09 14:55:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1099570    

Description Matt Reid 2014-06-13 19:58:35 UTC
Description of problem:
It would be great if Horizon could automatically prepopulate the "Format" field in the Create Image modal after the user has filled out the Image Source/Image File fields. This could be done based on the file extension and save the user from filling out one additional field in this modal.

Comment 2 Matthias Runge 2014-11-24 09:19:21 UTC
How to test:
============
- in images page in horizon
- push "create image" button
- select "Image file" for image source
- select source image and upload
- format should change to something other than "Select format"

Comment 5 errata-xmlrpc 2015-02-09 14:55:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-0154.html