blanking completion dependencies

Re: blanking completion dependencies

by Mary Cooch -
Number of replies: 5
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

I don't think it is mandatory that you have to select a course - you just don't click into that box and select one.

In reply to Mary Cooch

Re: blanking completion dependencies

by James Igoe -

Thanks for the reply Mary.

Your solution seems very straightforward, though I'm not sure I was allowed not to select a course. I'll try to leave that section of  the course completion settings next time I create a course.

James

In reply to Mary Cooch

Re: blanking completion dependencies

by James Igoe -

Unfortunately if another available course has been set to have course completion criteria it appears in this list.

There is no blank (or 'none') option within the 'courses available' drop-down list so the box cannot be left blank, i.e. a course is automatically chosen from the list even if I don't select a course.

Back to the drawing board...

In reply to James Igoe

Re: blanking completion dependencies

by Aaron Barnes -

Hi James,

Unfortunately there is an open bug for this http://tracker.moodle.org/browse/MDL-27114 which has yet to be completed (my fault).

In the meantime, the problem I believe you are having is that the form does not recognise a non-empty select box with nothing selected. Currently the only work around is to delete the course and create a new one.

Sorry for the bad news! I'll do my best to have another look at the patch soon.

Aaron

In reply to Aaron Barnes

Re: blanking completion dependencies

by Mia Musolino -

not sure I completely understand which course to delete -- the one that is the prerequisite or the one that is dependent on it?

In reply to Mia Musolino

Re: blanking completion dependencies

by James Igoe -

Hi Mia

I created a new dummy course and made this the prerequisite course for all courses. Once I had assigned this to all the courses I then deleted the dummy course. I went back into each course and clicked save. The result of this is that 'completion dependencies' is not selected in any course.

It's a slightly clunky workaround but it does work. I'm looking forward to this bug being fixed.

Regards
James