Error when no projects available in EC2 creds page

Bug #1062490 reported by Gabriel Hurley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Gabriel Hurley

Bug Description

This line has a bug: https://github.com/openstack/horizon/blob/master/horizon/dashboards/settings/ec2/forms.py#L51

That should be a list of 2-tuples rather than a single 2-tuple; as such you get a value error when Django tries to unpack the form choices if the list is empty.

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/14104

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/14104
Committed: http://github.com/openstack/horizon/commit/ef1e1d9b7a1fd4140518318ead8b7174a6a434ab
Submitter: Jenkins
Branch: master

commit ef1e1d9b7a1fd4140518318ead8b7174a6a434ab
Author: Gabriel Hurley <email address hidden>
Date: Fri Oct 5 12:05:08 2012 -0700

    Corrects an error in the EC2 form choices.

    Fixes bug 1062490.

    Change-Id: I1b8bd0fa362c3ddb67a7d4127211adf969b8c48c

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.