search fails if a user has no 'name'

Bug #953809 reported by Guillaume Pernot
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Emma Grace Steimann

Bug Description

an exception is risen if a user happens to have 'None' name or e-mail.

attached patch fixes this.

Revision history for this message
Guillaume Pernot (gpernot) wrote :
Revision history for this message
Andy Chong (andycjw) wrote :

how do you create a user with no name or email?
via nova command line?

Revision history for this message
Julien Danjou (jdanjou) wrote :

Users have been created using pre-Essex 4 keystone-manage and then imported using "keystone-manage import_legacy".

Revision history for this message
Guillaume Pernot (gpernot) wrote :

sorry : there are no null 'name' in my database, the exception is triggered in the second part of the test because of a null 'email'.

the cleaned patch is attached.

Mike Perez (thingee)
Changed in horizon:
status: New → Confirmed
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/5383

Changed in horizon:
assignee: nobody → Emma Grace Steimann (emmasteimann)
status: Confirmed → In Progress
Devin Carlen (devcamcar)
tags: added: essex-rc-potential
Changed in horizon:
importance: Undecided → High
Devin Carlen (devcamcar)
Changed in horizon:
milestone: none → essex-rc2
Devin Carlen (devcamcar)
tags: removed: essex-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit a8ab28ad13ab4803373b36bcb2203357b17a06f6
Author: Emma Steimann <email address hidden>
Date: Thu Mar 15 00:03:14 2012 -0500

    Added check to verify email exists when filtering users.

      * fixes bug 953809

    Change-Id: Ib43c404bfc12ec4f6a0c8e47792fad01d1aaeec6

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: essex-rc2 → 2012.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.