by Gustavo Heredia.
Since upgrading from version 2.4.1+ to Moodle 2.4.3+ (Build: 20130322), our users authenticated via external DB can not update their owns profiles
Debug info:
Error code: cannotupdateuseronexauth
Stack trace:
- line 476 of /lib/setuplib.php: moodle_exception thrown
- line 184 of /user/editadvanced.php: call to print_error()
or
More information about this error
Debug info:
Error code: cannotupdateprofile
Error code: cannotupdateprofile
Stack trace:
- line 476 of /lib/setuplib.php: moodle_exception thrown
- line 215 of /user/edit.php: call to print_error()
Our external DB auth plugin is configured to DONT update ANY Field in external database. This setting cause the error.
This error was introduced with MDL_39961 and is generated in function user_update in file /auth/db/auth.php .
I added this error in Bug Tracker https://tracker.moodle.org/browse/MDL-39961 and full explained there.