-
Bug
-
Resolution: Fixed
-
Major
-
2.4.3
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE
-
Backport MDL-38344: Manage subscription throw error, if length of event name is more than 255
While testing the calendar subscription system using the following URL.
https://www.google.com/calendar/ical/gsummerofcode%40gmail.com/public/basic.ics
When the subscription form was submitted the following error was shown.
Error writing to database
|
|
More information about this error
|
|
Debug info:
|
Error code: dmlwriteexception
|
Stack trace:
|
line 476 of \lib\setuplib.php: moodle_exception thrown
|
line 83 of \calendar\managesubscriptions.php: call to print_error()
|
Replication steps:
- Log in as any user
- Navigate to the calendar (Course > Upcoming events block > Go to calendar..."
- Click Manage subscriptions
- Add a calendar name and the URL above
It may be that the @ in the URL is being filtered at some point, which is preventing the fetching of calendar events. It looks like the subscription is being added but no events are being added for it.
- has been marked as being related by
-
MDL-38344 Manage subscription throw error, if length of event name is more than 255
-
- Closed
-