universis-project / moodle-enrol_oneroster

OneRoster Enrolment plugin for Moodle
GNU General Public License v3.0
0 stars 0 forks source link

Full sync of One Roster (enrol_oneroster\task\full_sync),enrol_oneroster\local\factories\entity_factory::fetch_user_by_id(): Argument #1 ($id) must be of type string, null given #18

Closed kbarbounakis closed 3 weeks ago

kbarbounakis commented 3 weeks ago

Describe the bug enrollment\fetch_user_by_id() method, which is called when sync is processing enrollments, throws an exception for invalid argument type. A user reference used by the process must be an array but it seems that sometimes may be null.