xAPI-vle / moodle-logstore_xapi

A Moodle plugin to send xAPI statements to an LRS using events in the Moodle logstore.
GNU General Public License v3.0
75 stars 85 forks source link

Quiz completion event is not being pushed #781

Closed JoepBakker closed 1 year ago

JoepBakker commented 3 years ago

Description

Steps to reproduce the bug

  1. Install plugin
  2. Enable quiz completed
  3. Complete a quiz: all intermediate events will have been pushed, but not completion

Server information

Client information

davidpesce commented 1 year ago

I can confirm this is the case, but the reason is interesting. Moodle itself isn't emitting an event for quiz_submitted. I'm going to confirm with MoodleHQ, but this may not be something we can resolve with this plugin.

image
davidpesce commented 1 year ago

Did a bit more digging on this and it looks like you may have run into the same issue that I did. When taking a quiz as an admin/teacher, the attempt_submitted event is not fired. When taking it as a student the event (and resulting statement) is sent correctly.