lsuits / lsu_xml_enrollment_provider

General purpose UES provider consuming XML enrollment files
0 stars 0 forks source link

Passwords do not work #2

Open rrusso opened 10 years ago

rrusso commented 10 years ago

When adding a new user, creating an entry with matching idnumber to assign an initial password does not work.

Is there a trick to it?

rrusso commented 10 years ago

They do work.

But new user creation generates this:

++ Argument $record must be an instance of stdClass. ++
* line 784 of /lib/classes/event/base.php: call to debugging()
* line 4741 of /lib/moodlelib.php: call to core\event\base->add_record_snapshot()
* line 1563 of /enrol/ues/lib.php: call to update_internal_user_password()
* line 1635 of /enrol/ues/lib.php: call to enrol_ues_plugin->create_user()
* line 902 of /enrol/ues/lib.php: call to enrol_ues_plugin->fill_role()
* line 667 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_teachers()
* line 619 of /enrol/ues/lib.php: call to enrol_ues_plugin->fill_roles_by_department()
* line 572 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_teachers_by_department()
* line 421 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_enrollment_by_department()
* line 393 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_semester_by_department()
* line 372 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_semester()
* line 339 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_all()
* line 279 of /enrol/ues/lib.php: call to enrol_ues_plugin->full_process()
* line 76 of /lib/classes/task/legacy_plugin_cron_task.php: call to enrol_ues_plugin->cron()
* line 73 of /lib/cronlib.php: call to core\task\legacy_plugin_cron_task->execute()
* line 61 of /admin/cli/cron.php: call to cron_run()
++ Fields list in snapshot record does not match fields list in 'user'. Record is missing fields: policyagreed, deleted, suspended, emailstop, icq, skype, yahoo, aim, msn, phone1, phone2, institution, address, calendartype, theme, timezone, lastaccess, lastlogin, currentlogin, lastip, secret, picture, url, description, descriptionformat, mailformat, maildigest, maildisplay, autosubscribe, trackforums, timemodified, trustbitmask, imagealt, lastnamephonetic, firstnamephonetic, middlename, alternatename ++
* line 793 of /lib/classes/event/base.php: call to debugging()
* line 4741 of /lib/moodlelib.php: call to core\event\base->add_record_snapshot()
* line 1563 of /enrol/ues/lib.php: call to update_internal_user_password()
* line 1635 of /enrol/ues/lib.php: call to enrol_ues_plugin->create_user()
* line 902 of /enrol/ues/lib.php: call to enrol_ues_plugin->fill_role()
* line 667 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_teachers()
* line 619 of /enrol/ues/lib.php: call to enrol_ues_plugin->fill_roles_by_department()
* line 572 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_teachers_by_department()
* line 421 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_enrollment_by_department()
* line 393 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_semester_by_department()
* line 372 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_semester()
* line 339 of /enrol/ues/lib.php: call to enrol_ues_plugin->process_all()
* line 279 of /enrol/ues/lib.php: call to enrol_ues_plugin->full_process()
* line 76 of /lib/classes/task/legacy_plugin_cron_task.php: call to enrol_ues_plugin->cron()
* line 73 of /lib/cronlib.php: call to core\task\legacy_plugin_cron_task->execute()
* line 61 of /admin/cli/cron.php: call to cron_run()