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

Error after editing Glossary settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Critical Critical
    • None
    • 2.3
    • Glossary
    • qa.moodle.net
    • MOODLE_23_STABLE
    • Hide

      1. Edit the settings of a Glossary activity
      2. Set completion tracking to 'Show activity as complete when conditions are met'
      3. Tick 'Student must receive a grade to complete this activity'
      4. Save and display

      Show
      1. Edit the settings of a Glossary activity 2. Set completion tracking to 'Show activity as complete when conditions are met' 3. Tick 'Student must receive a grade to complete this activity' 4. Save and display

      On editing Glossary settings to set completion tracking, debugging shows an error related to the lack of a grade item. The error is only produced when choosing 'Show activity as complete when conditions are met' and 'Student must receive a grade to complete this activity' is checked. Other combinations of these two options do not produce the error.

      The error is:

      Debug info: Cannot find grade item for 'glossary'
      cm '26' matching number '0'
      Error code: err_system
      Stack trace:
      line 1326 of /lib/completionlib.php: moodle_exception thrown
      line 584 of /lib/completionlib.php: call to completion_info->internal_systemerror()
      line 517 of /lib/completionlib.php: call to completion_info->internal_get_state()
      line 792 of /lib/completionlib.php: call to completion_info->update_state()
      line 383 of /course/modedit.php: call to completion_info->reset_all_state()

            rwijaya Rossiani Wijaya
            cborn Carly J Born
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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