Unable to delete course which used to have hotpot activity

Re: Unable to delete course which used to have hotpot activity

by Gordon Bateson -
Number of replies: 0
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Hi Markus,
thanks for the feedback. I'm glad that your site is back to full working order.

On further investigation, it seems that between us we have a found a bug in the HotPot module. When deleting an activity, the software for that activity is supposed to delete the grade item first and then the activity's main record, but the HotPot module did not do this. Instead, it deleted the activity record first. This appears to be why the grade items for your HotPot records got left behind.

The good news is that I have fixed the bug now and arranged for all orphan grade items for HotPots to be removed the next time anyone updates their HotPot module.

Many thanks,
and best regards
Gordon