Hello,
I bumped into an issue I have not had before. And wondering if someone recalls a simalar issue.
Moodle 3.9.x LTI Tool Provider
CAPP12 LTI Tool Consumer
Case:
Student enters course, in the enrol_lti_user column serviceurl, the url is placed.
Student receive a grade, grade is send through the services , LTI tool consumer confirms that grade is visable.
Student re-enters course to improve grade, grade is not being send.
Cron log shows error: skipping - empty serviceurl for the user xxx in the tool xx for the course xxx
We check the database, and confirm that the service url has "dissapeared".
We enter the service url manually in the database and grade is being send again.
We discussed the issue with the technical staff of CAPP LMS and they responded:
beside the normal way to start a new attempt, students have - when set - the possibility to see a result that been send before. Conform LTI we send an earlier used lis_result_source_id without the service url. We don't send the service url because we don't expect a result back.
I have no idea how they do it, but could it be that because they don't send the service url again this is being cleaned in the Moodle database?
I have checked between 2 Moodle LMS systems. I removed the service url in the database, and re-entered the course as a student and noticed the service url is being placed again in the database.
Hope someone reconginizes what happens here, and might have an idea if it is a bug in Moodle that causes the service url to dissapear when they do this (what they claim to be a standard) or that they do have to send the service url anyways.
Gem