-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.3
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-67274-master -
If the combined output of all tasks in the logs that are shown on one page of the table is large (so as to make total size of the output from those tasks go above the default memory limit), then the log table view fails, because the database query does a 'SELECT *' (including the output TEXT field).
Less of a problem, but, if the output of a single task is large, then viewing that single task via the preview popup also fails, because it loads it into memory in order to display it. (I don't really see a way around that one but we can increase the memory limit just in case.)
The first bug affects our live system so it may affects other production systems too. (In reality it is likely to occur if you have a task that generates a lot of log output, and if you filter for that task - so that you then have a whole table page full of tasks with large output, which is all loaded into memory.)
The fix appears to be simple, just don't load the 'output' field in the table query.