-
Bug
-
Resolution: Fixed
-
Minor
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-60671-master -
I introduced a slight bug in where the search cron tasks display progress using the existing core class, \text_progress_trace.MDL-59039
This class just uses 'echo' whereas in cron you are supposed to use mtrace and there are some subtle differences. I'm not sure if these are actually evident as affecting users in standard Moodle, although it might, but it's still technically wrong (there are certain ways you could try to capture cron output where this won't work properly, which I've just discovered in deploying this in OU systems).
I discussed it with Tim (who actually wrote text_progress_trace originally) and we think there should be an mtrace_progress_trace class for use in cron, so I'll make one.