Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4719

Store date of last attempt and use it in getLastAttemptDate() expert rule

    XMLWordPrintable

    Details

      Description

      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:

      1. Take the date of the last attempt from the logging table.
      2. if not available: Take the date of the last participant action.
      3. If not available: Take the modification date.

       

        Attachments

          Activity

            People

            Assignee:
            uhensler Urs Hensler
            Reporter:
            gnaegi Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h