ucfopen / Materia

Engage students with easily embedded apps for online courses. Supercharge your course with compelling experiences and game mechanics.
https://ucfopen.github.io/Materia-Docs/
GNU Affero General Public License v3.0
37 stars 32 forks source link

Triage fixes for LTI score passback bug #1560

Closed clpetersonucf closed 5 months ago

clpetersonucf commented 6 months ago

The bug:

As of v10.0.1-rc.1 and a database running MySQL 8, there appears to be a bug associated with the DB session driver where values written to user sessions don't persist. Specifically, the lti-link-<play_id> values written when a user replays an instance in an LTI context goes missing. This has multiple downstream impacts, most importantly that upon submission, a replay isn't considered an LTI play and the score is not returned to the LTI provider. It's not yet clear if the underlying cause is related to:

Until the core issue can be identified, this PR serves as a stopgap measure. Changes include: