← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1553148] Re: Annotaion in rest create_user is confusing

 

Reviewed:  https://review.openstack.org/287704
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=16a471f6a7ca01016f18bcec0c11322eb77418c1
Submitter: Jenkins
Branch:    master

commit 16a471f6a7ca01016f18bcec0c11322eb77418c1
Author: Bo Wang <bo.wang@xxxxxxxxxxxx>
Date:   Thu Mar 3 18:35:48 2016 +0800

    Clear confusing annotation in rest create_user
    
    email should be None if not provided, ref[1]
    
    [1] https://github.com/openstack/horizon/commit/
    311bbd7d16451e53775d316d0e45e1b47711c358
    
    Closes-Bug: #1553148
    Change-Id: I0530a78f3b354f06b2d9608f5da7ce31ea80085b


** Changed in: horizon
       Status: In Progress => Fix Released

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

Title:
  Annotaion in rest create_user is confusing

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  email is an optional argument, both '' and None could successfully create a new user with no email info. The difference is:
  If email=None, the value will be NULL in db.
  If email='', there is no value of email column in db.

  Clear current annotation "# not sure why email is forced to None, but
  other code does it"

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


References