The expert rule getLastAttemptDate() used until now the last modification date. The last modification date was not only updated if the user makes an attempt but on many other events e.g. the score is set by coach or even in technical changes.
With this issue OpenOlat stores the date of the last attempt in a separate database field. The value is only updated if the user makes a new attempt.
To initialize the last attempt date in existing data the following rules are applied:
- Take the date of the last attempt from the logging table.
- if not available: Take the date of the last participant action.
- If not available: Take the modification date.