ARETEedu / moodle-mod_arete

A repository service for Augmented Reality Learning Experience Models (compliant with IEEE p1589-2020)
GNU General Public License v3.0
3 stars 2 forks source link

Privacy provider: error #95

Closed fwild closed 1 year ago

fwild commented 2 years ago

It seems the privacy provider for our module is missing. Here is the documentation how to implement: https://docs.moodle.org/dev/Privacy_API#Implementing_a_provider

This is the error message we get via email:

Exception occurred while calling mod_arete\privacy\provider::get_contexts_for_userid. This means that plugin mod_arete did not complete the processing of data. The following exception information may be passed on to the plugin developer:

Error reading from database

0 /bitnami/moodle/lib/dml/mysqli_native_moodle_database.php(1212): moodle_database->query_end()

1 /bitnami/moodle/privacy/classes/local/request/contextlist.php(71): mysqli_native_moodle_database->get_recordset_sql()

2 /bitnami/moodle/mod/arete/classes/privacy/provider.php(132): core_privacy\local\request\contextlist->add_from_sql()

3 /bitnami/moodle/lib/moodlelib.php(7997): mod_arete\privacy\provider::get_contexts_for_userid()

4 /bitnami/moodle/privacy/classes/manager.php(578): component_class_callback()

5 /bitnami/moodle/privacy/classes/manager.php(611): core_privacy\manager::component_class_callback()

6 /bitnami/moodle/privacy/classes/manager.php(238): core_privacy\manager->handled_component_class_callback()

7 /bitnami/moodle/admin/tool/dataprivacy/classes/task/process_data_request_task.php(94): core_privacy\manager->get_contexts_for_userid()

8 /bitnami/moodle/lib/cronlib.php(341): tool_dataprivacy\task\process_data_request_task->execute()

9 /bitnami/moodle/lib/cronlib.php(198): cron_run_inner_adhoc_task()

10 /bitnami/moodle/lib/cronlib.php(76): cron_run_adhoc_tasks()

11 /bitnami/moodle/admin/cli/cron.php(178): cron_run()

12 {main}