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

course competencies report can throw errors due to scales.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup 2 competency frameworks each with a different scale.

      Add some competencies to each.

      Add all of the competencies from both frameworks to a single course.

      Rate a student against all of the competencies for the course.

      View the course competency breakdown report for the student.

      Verify you don't see the coding_exception.

      Show
      Setup 2 competency frameworks each with a different scale. Add some competencies to each. Add all of the competencies from both frameworks to a single course. Rate a student against all of the competencies for the course. View the course competency breakdown report for the student. Verify you don't see the coding_exception.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:

      Description

      It was reported in the forums here: https://moodle.org/mod/forum/discuss.php?d=351011 that the course competency breakdown report can sometimes fail to load.

      Looking at the code it seems the bit that sets up the scalecache is not always correct.

      report/competency/classes/output/report.php

       

        Attachments

          Activity

            People

            Assignee:
            damyon Damyon Wiese
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Mark Nelson
            Integrator:
            David Monllaó
            Tester:
            Simey Lameze
            Participants:
            Component watchers:
            Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Jul/17