← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1553148] [NEW] Annotaion in rest create_user is confusing

 

Public bug reported:

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"

** Affects: horizon
     Importance: Undecided
     Assignee: Wang Bo (chestack)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Wang Bo (chestack)

-- 
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):
  In Progress

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


Follow ups