danmarsden / moodle-mod_dialogue

Dialogue Module for Moodle
27 stars 36 forks source link

Automatic drafts #125

Open wmcmps opened 10 months ago

wmcmps commented 10 months ago

Every 5 minutes, cron is making a new draft. Happy to provide more details if you tell me where to look for. cron

danmarsden commented 10 months ago

we probably want to see what's set in the bulk open rules tab along with the details on the settings for the conversation it's opening - also the scheduled task logs for the dialogue task with debugging turned on.

and... what version of Moodle, what version of Dialogue are you using.

thanks!

wmcmps commented 10 months ago

dialogue settings environment and bulk plugin settings dialogue cron details dialogue cron

danmarsden commented 10 months ago

Thanks - I note you are using an old version of dialogue so it would be good for you to update that with the latest version available in github - but I also wonder if this was an old bug and the bulk open rule causing this has since been deleted? - is the number of drafts still increasing? or is it now "stable" at 23183? - the times they were opened do not match the times in your cron log (or the output of the cron task you have shown.)

It would also be interesting to see the list of records in your "dialogue_bulk_opener_rules" table - you could try finding the record and deleting it there too.

thanks,

wmcmps commented 10 months ago

The screenshots are made on different moments. The numbers are still adding up.

So if I understand correctly: -Keep ID 2215 in dialogue -Delete ID 148 in _dialogue_bulk_openerrules -Delete all rows with dialogueid 2215 in _dialogueconversations -Keep all ids in _dialogueparticipants (only one) -Keep all ids in _dialoguemessages (only one) -Download the latest plugin directly from github and install

dialogue_tables