Cannot add same repeated slots in different courses

Cannot add same repeated slots in different courses

by Mikhail Apakin -
Number of replies: 1

Hi!

We have Moodle 2.7.9 with mod_schedule 2.7.2 (2014090104).

There is a teacher who wants to make repeated slots in his course. He fills the form (attached) and has some slots.

After that he wants to make the same slots in another course. He understands that he can have two same meetings without a problem. But when he fills the same form in another course, he has an error "Can not find data record in database table scheduler_slots". 

By the way, if he adds the slots manually one by one, there is no problem. It appears only when adding repeated slots.

Can we help this poor teacher?

Thank you.

Attachment shedule.jpg
Average of ratings: -
In reply to Mikhail Apakin

Re: Cannot add same repeated slots in different courses

by Henning Bostelmann -
Picture of Core developers Picture of Plugin developers

Hello Mikhail,

> He understands that he can have two same meetings without a problem

No, that's not quite correct. In fact, Scheduler will try to prevent such "conflicts" in the calendar. What happens (or should happen) if you create the second slot series, and set "Force when overlap" to "Yes", is that the first slot series gets deleted.

It seems however, by your report, that there's some problem in the deletion process.

Have you tried this in a newer version of Scheduler? Both Moodle 2.7.9 and Scheduler 2.7.2 are now out of maintenance.