ngandrass / moodle-quiz_archiver

Archives quiz attempts as PDF and HTML files for long-term storage independent of Moodle
GNU General Public License v3.0
5 stars 3 forks source link

[Bug]: Error thrown on MySQL when starting the archiving process #13

Closed PM84 closed 7 months ago

PM84 commented 7 months ago

Quiz archiver moodle plugin version

2023121400

Quiz archiver worker version

latest

Worker service deployment method

Docker compose

Moodle Version

4.3.2

PHP Version

8.1

Database

MySQL

Operating system

Ubuntu 22.04

What happened?

Expected behavior:

When starting the archiving process, the archiving will be started.

Actual behavior: An error related to the field name "key" is thrown on a MySQL DB when starting the archiving process. "key" is a protected name in MySQL.

Additional information:

Steps to reproduce

  1. Run moodle on an MySQL DB
  2. Start an archiving process
  3. => Error occured, that the field key can not be used.

Relevant Moodle / PHP log output (if applicable)

No response

Relevant quiz archive worker service log output (if applicable)

No response

ngandrass commented 7 months ago

Thanks for your bug report :)

This issue has been fixed with quiz_archiver v1.2.3 (20240112). Please upgrade and try again.

Release v1.2.3: https://github.com/ngandrass/moodle-quiz_archiver/releases/tag/v1.2.3 Commit: a76debd527f3cb7dab03d2ebb5439337a8ac4039

PM84 commented 7 months ago

Yes, your're right! Thanks for your help