Beiträge von Howard Miller

Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers

I'm having a bit of a bad time with PHPUnit after upgrading my dev site to Moodle 4.4.

As well as ongoing problems with the autoloader apparently not working, a lot of tests are producing...

"coding_exception: Coding error detected, it must be fixed by a programmer: When including this file for a unit test, the test must be run in an isolated process. See the PHPUnit @runInSeparateProcess and @runTestsInSeparateProcesses annotations"

I'm aware that there is a ticket related to this in the tracker - MDL-79943 - but I'm still struggling to understand what is going wrong. 

Can anybody shed any light / explain / suggest a fix or workaround?

Mittelwert:  -
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
You don't need a plugin, you just need to go and read about roles.

You'll have a new 'teacher ' role. 'Teacher who can't see hidden actitivities', or something like that.

I think the problem you are going to run into is that there's only one hidden flag on each activity. So if the stuff is hidden for students it's hidden for this role. And vice versa.

But maybe there are other options - collapsable topics format?