Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

Users authenticated via external DB can't update their own profiles

$
0
0
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 

The error is:

Failed to update user data on external auth: db. See the server logs for more details.

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 

Error updating user record

More information about this error

Debug info: 
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.

TIA


Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>