ohmage / gwt-front-end

The javascript/GWT code behind the front end.
6 stars 2 forks source link

E-mail address is not read/displayed for user info reads #221

Closed ghost closed 12 years ago

ghost commented 12 years ago

Problem: When viewing/editing a user's info from the admin edit user interface, no e-mail address is displayed.

Cause: Due to a change in the user/search response format for 2.11, "email_address" has been moved out of "personal" object and into "data" as an object member.

Fix: In the DataService class, update email variable to read the new parameter location in the JSON data object. Also need to remove check where personal info is still required if only e-mail is specified.

ghost commented 12 years ago

Need to add a message informing users that once they have an e-mail address associated with the account, they cannot delete it and must update with another e-mail address in order to change it.

Also need to add e-mail address validation.