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

Cannot grade competency in breakdown report when proficiency is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      • create a new course
      • enrol user
      • add competency to the course
      • go the competency breakdown report
      • You should see not rated
      • click on not rated, Dialogue box should be displayed
      • rate the competency and close the dialogue box
      • you should see the grade rated
      • click on this grade , Dialogue box should be displayed
      • Change the grade and close the dialogue box
      • you should see the grade changed
      Show
      create a new course enrol user add competency to the course go the competency breakdown report You should see not rated click on not rated , Dialogue box should be displayed rate the competency and close the dialogue box you should see the grade rated click on this grade , Dialogue box should be displayed Change the grade and close the dialogue box you should see the grade changed
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53720_master

      Description

      When the user_competency_course row contains a proficiency of null, the grader dialogue won't display. This happened when I set a course completion rule which did not "Complete" the competency but sent it for review. When I then went to the breakdown report to rate it, the following exception came up:

      proficiency => Invalid response value detected: Invalid external api response: the value is "", the server was expecting "bool" typeError code: invalidresponse
      

      This seems to be caused by user_competency_summary_in_course_exporter and its definition of proficiency, or the value it returns.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                taboubii Issam Taboubi
                Reporter:
                fred Frédéric Massart
                Peer reviewer:
                Frédéric Massart
                Participants:
                Component watchers:
                Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: