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

Grade calculation error displays multiple times.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.6, 2.4
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Gradebook
    • Labels:
      None
    • Testing Instructions:
      Hide

      You'll need a course with at least one student and at least two gradeable activities with ID numers.

      1. Visit the course and click on 'Grades'.
      2. Under 'Categories and items' click on 'Simple view'.
      3. Click 'Add grade item' and fill in the details and submit.
      4. After saving click on the calculator icon next to the newly created grade item and set the calculation to be equal to the sum of two other grade items ie =[[idnumberA]]+[[idnumberB]]
      5. Visit the course page and delete one of the activities that is relied upon by the calculated grade item.
      6. Click on 'Grades' which should take you to the 'User report' and ensure there is the message 'An error occurred during grade calculation: Probably circular reference or broken calculation formula' and not 'An error occurred during grade calculation: Probably circular reference or broken calculation formula,Probably circular reference or broken calculation formula'.
      7. Click on 'Export' to show the export options. Click on each of these and ensure the error message shows and is the same.
      Show
      You'll need a course with at least one student and at least two gradeable activities with ID numers. Visit the course and click on 'Grades'. Under 'Categories and items' click on 'Simple view'. Click 'Add grade item' and fill in the details and submit. After saving click on the calculator icon next to the newly created grade item and set the calculation to be equal to the sum of two other grade items ie =[ [idnumberA] ]+[ [idnumberB] ] Visit the course page and delete one of the activities that is relied upon by the calculated grade item. Click on 'Grades' which should take you to the 'User report' and ensure there is the message 'An error occurred during grade calculation: Probably circular reference or broken calculation formula' and not 'An error occurred during grade calculation: Probably circular reference or broken calculation formula,Probably circular reference or broken calculation formula'. Click on 'Export' to show the export options. Click on each of these and ensure the error message shows and is the same.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-39535_master

      Description

      See title.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/May/13