-
Bug
-
Resolution: Fixed
-
Critical
-
3.1.6, 3.2.2, 3.3
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
-
MOODLE_32_STABLE
-
MDL-58810-master -
Issue 1
When importing ics file for the calendar with repeating events I get on master:
Error: mdb->get_record() found more than one record!
|
|
line 1570 of /lib/dml/moodle_database.php: call to debugging()
|
line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
|
line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
|
line 3062 of /calendar/lib.php: call to moodle_database->get_record()
|
line 3206 of /calendar/lib.php: call to calendar_add_icalendar_event()
|
line 3256 of /calendar/lib.php: call to calendar_import_icalendar_events()
|
line 79 of /calendar/managesubscriptions.php: call to calendar_update_subscription_events()
|
and on 3.2:
Error: mdb->get_record() found more than one record!
|
|
line 1563 of /lib/dml/moodle_database.php: call to debugging()
|
line 1523 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
|
line 1502 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
|
line 3038 of /calendar/lib.php: call to moodle_database->get_record()
|
line 3176 of /calendar/lib.php: call to calendar_add_icalendar_event()
|
line 3220 of /calendar/lib.php: call to calendar_import_icalendar_events()
|
line 79 of /calendar/managesubscriptions.php: call to calendar_update_subscription_events()
|
P.S. I used .ics file for Moodle development calendar
Issue 2
When updating an imported a Calendar URL that has repeating events, an error is encountered: https://gist.github.com/junpataleta/3ff87e67f8da823444c6aa673351cec3