Empty email for users gets saved as an empty string
Bug #1265805 reported by
Julie Pichon
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Alejandro Emanuel Paredes |
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.
Changed in horizon: | |
assignee: | nobody → alejandro emanuel paredes (alejandro-e-paredes) |
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/65150
Review: https:/