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

Conditionlib stores grades in $SESSION

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.4.6, 2.5.2, 2.6
    • Course, Restrict access
    • None
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

      function condition_info_base::get_cached_grade_score() uses $SESSION to store user grades:
      https://github.com/moodle/moodle/blob/master/lib/conditionlib.php#L1163

      this should be MUC cache with ttl, otherwise student must re-login to access conditional activities/sections after teacher graded him. Discovered in MDLQA-6180 but has the same behaviour in 2.4 and 2.5

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.