← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1265805] Re: Empty email for users gets saved as an empty string

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => icehouse-3

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

Title:
  Empty email for users gets saved as an empty string

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Currently if we create/update a user without an email address using
  Horizon, an empty string is stored in the database.

  mysql> select name, extra from user;
  | test           | {"email": ""}                     |

  However, when using the keystone client, no email means storing
  'null'/None.

  $ keystone user-create --name anothertest --pass test
  [...]
  mysql> select name, extra from user;
  | anothertest    | {"email": null}                   |

  We should match the keystone client behaviour, as storing empty
  strings is saving incorrect data that may cause issues, particularly
  with certain identity backends.

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


References