tmuras / moosh

Moosh
GNU General Public License v3.0
229 stars 175 forks source link

section not respected with scheduler module #458

Open koenr opened 10 months ago

koenr commented 10 months ago

Actual behaviour

Adding a scheduler module doesn't respect the section.

moosh activity-add --name "test" --section 2 scheduler 10 -> this ends up in section 0 moosh activity-add --name "test" --section 2 forum 10 -> this ends up in section 2

Expected behaviour

It would be nice if the section number was respected

Steps to reproduce

Install the schedular module from https://moodle.org/plugins/mod_scheduler Install Moosh Create an empty course moosh activity-add --name "test" --section 2 scheduler 10 moosh activity-add --name "test" --section 2 forum 10 -> forum will be in section 2, while scheduler will be in section 0

I have no idea how to start investigating this difference in behaviour. It might be a scheduler problem of course ...