Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39381

External tool grades don't trigger conditional activities until user logs out

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.4.3
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      When an external tool returns a grade for a student, conditional activities that depend on that grade are not made available until the student logs out and logs back in again.

      To reproduce:

      1. Create a new course.
      2. Add an external tool activity that returns a grade.
      3. Add another activity and set a grade condition based on the grade returned from the external tool.
      4. Launch the external tool activity as a student and achieve the required score.
      5. Return to the course.

      Expected result: The restricted activity should be available.

      Actual result: The restricted activity is still unavailable. After logging out and then logging back in the restricted activity is available.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: