turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
45 stars 69 forks source link

Behat Scenario failure when legacy cron is called #557

Open aspark21 opened 3 years ago

aspark21 commented 3 years ago

Behat Scenario: Bulk accepting requests
/var/www/html/admin/tool/dataprivacy/tests/behat/manage_data_requests.feature:61

And I trigger cron # behat_general::i_trigger_cron() Other backtraces found: line 3480 of /lib/deprecatedlib.php: call to debugging() line 172 of /lib/classes/task/legacy_plugin_cron_task.php: call to cron_execute_plugin_type() line 248 of /lib/cronlib.php: call to core() line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task() line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks() line 81 of /admin/cron.php: call to cron_run() line 41 of /plagiarism/turnitin/classes/turnitin_comms.class.php: call to behat_error_handler() line 2022 of /plagiarism/turnitin/lib.php: call to turnitin_comms->construct() line 1931 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->check_local_submission_state() line 2875 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->cron_update_scores() line 44 of /plagiarism/turnitin/classes/task/update_reports.php: call to plagiarism_turnitin_update_reports() line 248 of /lib/cronlib.php: call to plagiarism_turnitin() line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task() line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks() line 81 of /admin/cron.php: call to cron_run() line 41 of /plagiarism/turnitin/classes/turnitin_comms.class.php: call to behat_error_handler() line 302 of /plagiarism/turnitin/lib.php: call to turnitin_comms->construct() line 2888 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->test_turnitin_connection() line 42 of /plagiarism/turnitin/classes/task/send_submissions.php: call to plagiarism_turnitin_send_queued_submissions() line 248 of /lib/cronlib.php: call to plagiarism_turnitin() line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task() line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks() line 81 of /admin/cron.php: call to cron_run() (Exception)

carl-hostrander commented 1 month ago

Thank you for reporting this. Because the latest version of the plagiarism plugin is supported for versions of Moodle 4.1 and higher, I am closing this ticket. However, if you find this issue is occurring with the latest version of the plugin in any of the supported Moodle versions, please create a new ticket and we will address it.

aspark21 commented 1 month ago

Sadly still relevant @carl-hostrander