User registration throws errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Son Nguyen |
Bug Description
Master 15.04
Initial assessment from Robert:
the problem is in lib/user.php function display_username(). somehow a $user variable is passed in that is missing $user->username. so I suspect that the $user variable is not a true $user object.
---------
Test scenario:
1. Set up a new institution and enable registration and "Confirm registration".
2. Register as new user and you'll get the error message below.
[WAR] 42 (lib/user.php:1196) Undefined property: stdClass::$username
Call stack (most recent first):
log_
error(8, "Undefined property: stdClass:
display_
display_
email_
auth_
call_
Pieform-
auth_
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
This is caused by the patch https:/ /reviews. mahara. org/3581