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

Grade mapping table not entirely saved when using Number of Errors Acessment Form with weights different from 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.5, 2.1.2
    • 2.0.4, 2.1.1, 2.2
    • Workshop
    • LAMP
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • MDL-29336-numerrors-mapping
    • Hide

      1 - Press Blanks for 2 more assertions until you have the same or a bigger number off assertions than the maximum number of possible errors. In the above testing instrucions, the max errrors were 7, so you must press twice until you have 8 Assertions.
      2 - Edit the grading table as desired and press Save and Continue Editing. This time every data was recordered.

      However there is a problem with this workarround. The number of Assertions gets back to 4, because Assertions 5 to 8 were left empty. So if you need to edit the form again, you must add the needed new assertions again to avoid the occurrence of the same problem.

      Show
      1 - Press Blanks for 2 more assertions until you have the same or a bigger number off assertions than the maximum number of possible errors. In the above testing instrucions, the max errrors were 7, so you must press twice until you have 8 Assertions. 2 - Edit the grading table as desired and press Save and Continue Editing. This time every data was recordered. However there is a problem with this workarround. The number of Assertions gets back to 4, because Assertions 5 to 8 were left empty. So if you need to edit the form again, you must add the needed new assertions again to avoid the occurrence of the same problem.
    • Hide
      • TEST: Follow the steps to reproduce and make sure that all mappings are saved
      • Change the field weights to "1", re-save the form and continue in editing
      • Change the field weights back to "2" and "5", re-save the form
      • TEST: Make sure that only the first two mappings were preserved. When the form was saved with two dimensions each having the weight "1", the mappings for 3 and more errors were removed.
      Show
      TEST: Follow the steps to reproduce and make sure that all mappings are saved Change the field weights to "1", re-save the form and continue in editing Change the field weights back to "2" and "5", re-save the form TEST: Make sure that only the first two mappings were preserved. When the form was saved with two dimensions each having the weight "1", the mappings for 3 and more errors were removed.

      When you configure a Number of Errors Acessment Form with some weights different from 1, the grade mapping table extends to consider the possible maximum number of errors, as it should. However when you save the form some values configured on the grade mapping table are not saved, only the first values are saved.

      Replication steps:

      1. Add a Workshop in a course
      2. Configure the mandatory information (Workshop name, Introduction and Submission settings) and set Grading strategy to Number of errors and press the Save and Display button
      3. Edit the acessment form and define 2 Assertions with something on the description and configure the weights to 2 and 5
      4. Press Save and Continue editing. Result: The grade mapping table allows grading values for 7 possible errors, which is consistent with the weights 2 and 5 and the resulting possible number of errors: 0, 2, 5 or 7.
      5. Select grades for the errors exactly as sugested: 85%, 71%, 57%, 42%, 28%, 14%, 0% and press Save and Continue Editing.
      6. Go down to the Grade Mapping Table and you will see that only the 4 first values were recorded and the last 3 were ignored.

      The problems seems to be that only the exact number of Assertions being shown is being recordered, as you can see on the suggested workarround.

        1. Image1.jpg
          Image1.jpg
          21 kB
        2. Image2.jpg
          Image2.jpg
          20 kB
        3. Image4.jpg
          Image4.jpg
          56 kB

            mudrd8mz David Mudrák (@mudrd8mz)
            avilela Antonio Vilela
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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