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 84 forks source link

mod_feedback providing null response for multichoice/rated events #851

Open mikehenry1979-bah opened 9 months ago

mikehenry1979-bah commented 9 months ago

Description Site uses Moodle with a third-party xAPI receiver which is logging errors due to null "response" JSON values which should be empty strings.

Version 2022101800

Steps to reproduce the bug

  1. Answer a feedback activity with the multi-choice or multi-choice rated type.

Expected behaviour "response" should be an empty string and not null.

Actual behaviour "response" is sent as null.

Server information MSSQL

Client information N/A

Additional information None