WeBWorK Main Forum

LTI updates and submission messages

LTI updates and submission messages

by Sean Fitzpatrick -
Number of replies: 3

On WeBWorK 2.19, I noticed that students get a more detailed message upon submission. It looks like:

Your score was recorded.
Scores are sent to Moodle every 3 hours.
You have attempted this problem 1 time.
You received a score of 100% for this attempt.
Your overall recorded score is 100%.
You have unlimited attempts remaining.

This is really useful! Or it would be, except it's wrong. The LTI mass update interval is set to 1 day. Where is the "Scores are sent to Moodle every 3 hours" line generated? How do I ensure that the message here matches the mass update interval? I can guarantee that some student is going to email me saying "I waited 3 hours and my grade isn't updated on Moodle."

In reply to Sean Fitzpatrick

Re: LTI updates and submission messages

by Alex Jordan -
Looks like a bug here:

https://github.com/openwebwork/webwork2/blob/2bf8a307a6d93873b083bb2f0e172dd32378cc77/lib/WeBWorK/Utils/ProblemProcessing.pm#L273

where a 36000 should be 3600. I opened a pull request to fix this.


In reply to Alex Jordan

Re: LTI updates and submission messages

by Glenn Rice -
Alex's hotfix pull request to fix this has already been merged. So if you run "git pull" in the /opt/webwork/webwork2 directory, and restart the webwork2 app, the problem should be fixed.