-
Bug
-
Resolution: Fixed
-
Minor
-
3.3, 3.4.5, 3.5, 3.6
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-60267-master -
-
- Create a custom profile field "dropdownlist"
- name: TEST
- required: no
- locked: yes
- unique: no
- In Shibbolelth auth paramters:
- leave field_updatelocal_profile_field_TEST empty
- Connect with a user
- if you set the field TEST to be updated at creation, the error only appears at creation
- if you set the field TEST to be updated at each connections, the error appears at each connections...
Error: Shibboleth plugin seems to try to update the fields even if the data source field is empty.
ERROR LOG:
[28-Sep-2017 10:41:01 Europe/Brussels] Default exception handler: Erreur d'écriture vers la base de données Debug: Column 'data' cannot be null
UPDATE mdl_user_info_data SET userid = ?,fieldid = ?,data = ? WHERE id=?
[array (
0 => '18752',
1 => '1',
2 => NULL,
3 => '18945',
)]
Error code: dmlwriteexception
- line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1502 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1534 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
- line 155 of /user/profile/lib.php: call to mysqli_native_moodle_database->update_record()
- line 523 of /user/profile/lib.php: call to profile_field_base->edit_save_data()
- line 3961 of /lib/moodlelib.php: call to profile_save_data()
- line 4330 of /lib/moodlelib.php: call to update_user_record_by_id()
- line 54 of /auth/shibboleth/index.php: call to authenticate_user_login()
- is duplicated by
-
MDL-61285 Error inserting user_info_data durring account creation.
-
- Closed
-