-
Bug
-
Resolution: Fixed
-
Minor
-
2.1, 2.2
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MDL-31671-master2 -
-
Deleted single event from a recurring series, first event, then attempted to 'Delete all' from the same recurring series and received error message "cannot find data record in database table event'.Unable to delete this series of events using 'Delete all' function.
Moodle should not display "Delete all" when the first event is deleted to avoid this error.
Replication steps:
- Create a recurring event, where "Repeat weekly, creating altogether" should have 3 or more
- Select first recurring event from calendar
- Click 'Delete' icon from event listing
- Delete event screen is displayed
- Click 'delete' button to delete single event.
- Screen displays all events from the recurring series except the first deleted event
- Select next recurring event from calendar
- Click 'Delete' icon from event listing
- Delete event screen is displayed with the option to "Delete All"
- Click 'Delete all' button to delete all recurring events
- Screen displays error "cannot find data record in database table event"