davemckain / qtiworks

**This project will be closed in early 2023!** IMS QTI 2.1 assessment delivery engine and Java development library (JQTI+). Supports the MathAssess extensions. Replacement for QTIEngine/JQTI and MathAssessEngine/JQTI. Note that this project has now ended and no further work is currently planned.
Other
67 stars 55 forks source link

Duration timers need updated *before* RP and OP run #42

Closed davemckain closed 10 years ago

davemckain commented 10 years ago

The session controllers are currently updating the various internal duration counters (and hence the value of the duration variable) after RP and OP run. This means any access to the duration variable is referring to the duration at the time of the previous session mutation, so is going to be too small.

This needs to be reordered more sensibly.

davemckain commented 10 years ago

Actually, just checked and RP is OK. So it's just OP that needs fixed.

davemckain commented 10 years ago

Fixed in commit 3af1d71. Will appear in next production release.