-
Bug
-
Resolution: Fixed
-
Blocker
-
3.5
-
MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
MDL-62270-MASTER-Cron-task-fails-on-data-privacy-related-task -
Easy
-
-
GDPR Followup Sprint 1
If admin directory is renamed to something else, cron tasks:
1. initiate_data_request_task.php fails. The reason: fixed path (.../admin/....) to php script instead of using {$CFG->admin} in line 57.
2. process_data_request_task.php fails. The reason: fixed path (.../admin/....) to php script instead of using {$CFG->admin} in line 60.
In the result personal data export request can't be approved (still are "Pending")
Now we have error 'PHP Fatal error: require_once(): Failed opening required '.../admin/tool/dataprivacy/lib.php' in log..
No error should occur in log and requests' statuses should be changed to "Awaiting approval".