-
Task
-
Resolution: Fixed
-
Major
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_26_STABLE
-
MDL-40055-master -
-
40
-
BACKEND Sprint 4
Replace the add_to_log calls for the following area, with a call to the get_legacy_logdata function in the event class.
mod/assign (26 calls)
/mod/assign/index.php:35: add_to_log($course->id, 'assign', 'view all', 'index.php?id=$course->id', '');
/mod/assign/locallib.php:2416: add_to_log($this->get_course()->id,
investigate this function
/mod/assign/locallib.php:2408: public function add_to_log($action = '', $info = '', $url='') {
And these lines:
/mod/assign/feedback/offline/locallib.php:167: $this->assignment->add_to_log('grade submission', $this->assignment->format_grade_for_log($grade));
/mod/assign/feedback/offline/locallib.php:195: $this->assignment->add_to_log('save grading feedback', $logdesc);
/mod/assign/locallib.php:2110: $this->add_to_log('view submission', $logmessage);
/mod/assign/locallib.php:2133: $this->add_to_log('view feedback', $logmessage);
/mod/assign/locallib.php:2392: $this->add_to_log('download all submissions', get_string('downloadall', 'assign'));
/mod/assign/locallib.php:2810: $this->add_to_log('view grading form', $msg);
/mod/assign/locallib.php:2846: $this->add_to_log('view', get_string('viewrevealidentitiesconfirm', 'assign'));
/mod/assign/locallib.php:3059: $this->add_to_log('view submission grading table', $logmessage);
/mod/assign/locallib.php:3146: $this->add_to_log('view submit assignment form', get_string('viewownsubmissionform', 'assign'));
/mod/assign/locallib.php:3367: $this->add_to_log('view batch set marking workflow state', get_string('viewbatchsetmarkingworkflowstate', 'assign'));
/mod/assign/locallib.php:3428: $this->add_to_log('view batch set marker allocation', get_string('viewbatchmarkingallocation', 'assign'));
/mod/assign/locallib.php:3481: $this->add_to_log('view confirm submit assignment form', $logmessage);
/mod/assign/locallib.php:3828: $this->add_to_log('view', get_string('viewownsubmissionstatus', 'assign'));
/mod/assign/locallib.php:4493: $this->add_to_log('submission statement accepted', $logmessage);
/mod/assign/locallib.php:4495: $this->add_to_log('submit for grading', $this->format_submission_for_log($submission));
/mod/assign/locallib.php:4529: $this->add_to_log('grant extension', $userid);
/mod/assign/locallib.php:4762: $this->add_to_log('grade submission', $this->format_grade_for_log($grade));
/mod/assign/locallib.php:4811: $this->add_to_log('reveal identities', get_string('revealidentities', 'assign'));
/mod/assign/locallib.php:4999: $this->add_to_log('submissioncopied', $this->format_submission_for_log($submission));
/mod/assign/locallib.php:5105: $this->add_to_log('submission statement accepted', $logmessage);
/mod/assign/locallib.php:5107: $this->add_to_log('submit', $this->format_submission_for_log($submission));
/mod/assign/locallib.php:5613: $this->add_to_log('revert submission to draft', $logmessage);
/mod/assign/locallib.php:5652: $this->add_to_log('lock submission', $logmessage);
/mod/assign/locallib.php:5692: $this->add_to_log('set marking workflow state', $message);
/mod/assign/locallib.php:5734: $this->add_to_log('set marking allocation', $message);
/mod/assign/locallib.php:5774: $this->add_to_log('unlock submission', $logmessage);
/mod/assign/locallib.php:5831: $this->add_to_log('grade submission', $this->format_grade_for_log($grade));
- Discovered while testing
-
MDL-41464 Incorrect colour used for grading successful message.
-
- Closed
-
- has been marked as being related by
-
MDL-37148 More webservices for Assignment
-
- Closed
-
-
MDL-41101 Replace existing add_to_log calls for mod_assign
-
- Closed
-
- is blocked by
-
MDL-40997 PHPUnit assertion for legacy log data and event data.
-
- Closed
-
-
MDL-41040 Set logging level and localisation for new events
-
- Closed
-
-
MDL-39954 Replace Legacy events - Assessable content
-
- Closed
-