-
Bug
-
Resolution: Fixed
-
Blocker
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
MDL-60561-master -
We have an arbitrary limit of only 40 events to be shown at once.
We theoretically allow the user to select more, but this logic is also in the wrong place, and there is a hard-coded limit in the API of only 50 events.
MDL-60092 introduced a partially-configurable limit for the number of events to show. This is confusing because the setting is only fetched in the upcoming view, but the code makes it look like it's always applied:
https://github.com/moodle/moodle/blob/849405177fd087b65baf42b9215d4d6e7eb661c0/calendar/lib.php#L3131-L3137
Furthermore, there is an arbitrary limit of only 50 events in the vault before an exception is thrown.
Unfortunately, this really messes with the calenar, and items disappear off the end of the calendar.