Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.0
-
Fix Version/s: None
-
Component/s: External Tool (IMS-LTI)
-
Labels:None
-
Affected Branches:MOODLE_400_STABLE
Description
Although the LTI specs do mention that the timestamps sent for the scores must not conflict (https://www.imsglobal.org/spec/lti-ags/v2p0#timestamp), it is not clear to me why the timestamp at which the line item is updated can conflict with scores published.
To Reproduce:
- Create a new line item (existing one should work as well)
- Update the line item's scoreMaximum
- Send scores over for at least one user with a timestamp before the timestamp at which Step 2 occurred
- See 409
I've also included a video of the issue: https://drive.google.com/file/d/1BQVhG4BWLgLc8RdBXk63AeiuJMjUXmPQ/view?usp=sharing
I expected to not run into a 409 just because my scores had a timestamp older than the time at which I updated the line item.
I can work around this issue by sending the current time for every score post, however, I'd prefer to be able to send the time at which the submission was graded.