← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1479727] [NEW] Exceptions when user email field is empty

 

Public bug reported:

Keystone doesn't return a user email in it's json response if the field
is empty, which will raise exceptions when loading users table:

The attribute email doesn't exist on <User {u'username': u'nova', u'enabled': True, u'name': u'nova', u'id': u'1b57074e239b49c8b77175d0107dd2a1'}>.
The attribute email doesn't exist on <User {u'username': u'glance', u'enabled': True, u'name': u'glance', u'id': u'24aa02268a22413b9cb922283273387b'}>.
The attribute email doesn't exist on <User {u'username': u'cinder', u'enabled': True, u'name': u'cinder', u'id': u'532d95cdcd914e95a0d29178161dba65'}>.
The attribute email doesn't exist on <User {u'username': u'admin', u'enabled': True, u'name': u'admin', u'id': u'67bffb7f749a40fa898453ebf5ef83bb'}>.
The attribute email doesn't exist on <User {u'username': u'neutron', u'enabled': True, u'name': u'neutron', u'id': u'a5f96e136c124737be25e59ec66af08b'}>.
The attribute email doesn't exist on <User {u'username': u'ironic', u'enabled': True, u'name': u'ironic', u'id': u'c09d491925ed42709a7aaf9b7fe50928'}>.

** Affects: horizon
     Importance: Undecided
     Assignee: Zhenguo Niu (niu-zglinux)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Zhenguo Niu (niu-zglinux)

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

Title:
  Exceptions when user email field is empty

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Keystone doesn't return a user email in it's json response if the
  field is empty, which will raise exceptions when loading users table:

  The attribute email doesn't exist on <User {u'username': u'nova', u'enabled': True, u'name': u'nova', u'id': u'1b57074e239b49c8b77175d0107dd2a1'}>.
  The attribute email doesn't exist on <User {u'username': u'glance', u'enabled': True, u'name': u'glance', u'id': u'24aa02268a22413b9cb922283273387b'}>.
  The attribute email doesn't exist on <User {u'username': u'cinder', u'enabled': True, u'name': u'cinder', u'id': u'532d95cdcd914e95a0d29178161dba65'}>.
  The attribute email doesn't exist on <User {u'username': u'admin', u'enabled': True, u'name': u'admin', u'id': u'67bffb7f749a40fa898453ebf5ef83bb'}>.
  The attribute email doesn't exist on <User {u'username': u'neutron', u'enabled': True, u'name': u'neutron', u'id': u'a5f96e136c124737be25e59ec66af08b'}>.
  The attribute email doesn't exist on <User {u'username': u'ironic', u'enabled': True, u'name': u'ironic', u'id': u'c09d491925ed42709a7aaf9b7fe50928'}>.

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


Follow ups