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

Can't save a grade to pass value for some activities when ratings not enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9.2
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      Test 1

      Repeat for the forum, glossary and database

      1. Visit a course.
      2. Add an activity and check that the 'Grade to pass' setting is disabled when 'Aggregate type' is set to 'No ratings'.
      3. Set the 'Aggregate type' to something other than 'No ratings' and set a valid value for the 'Grade to pass' field.
      4. Re-edit the activity and ensure the 'Grade to pass' setting has saved successfully.
      5. Enter a new value for the 'Grade to pass' setting and save.
      6. Re-edit the activity and ensure the 'Grade to pass' value has saved successfully.
      7. Set the 'Aggregate type' to 'No ratings' and save.
      8. Re-edit the activity and ensure the 'Grade to pass' value is disabled but the value is still set.
      Test 2

      Repeat for every other activity

      1. Visit a course.
      2. Add an activity and check that the 'Grade to pass' setting is disabled when 'Grade' is set to 'None'.
      3. Set the 'Grade' to 'Point' and set a valid value for the 'Grade to pass' field.
      4. Re-edit the activity and ensure the 'Grade to pass' setting has saved successfully.
      5. Enter a new value for the 'Grade to pass' setting and save.
      6. Re-edit the activity and ensure the 'Grade to pass' value has saved successfully.
      7. Set the 'Grade' to 'None' and save.
      8. Re-edit the activity and ensure the 'Grade to pass' value is disabled but the value is still set.
      Show
      Test 1 Repeat for the forum, glossary and database Visit a course. Add an activity and check that the 'Grade to pass' setting is disabled when 'Aggregate type' is set to 'No ratings'. Set the 'Aggregate type' to something other than 'No ratings' and set a valid value for the 'Grade to pass' field. Re-edit the activity and ensure the 'Grade to pass' setting has saved successfully. Enter a new value for the 'Grade to pass' setting and save. Re-edit the activity and ensure the 'Grade to pass' value has saved successfully. Set the 'Aggregate type' to 'No ratings' and save. Re-edit the activity and ensure the 'Grade to pass' value is disabled but the value is still set. Test 2 Repeat for every other activity Visit a course. Add an activity and check that the 'Grade to pass' setting is disabled when 'Grade' is set to 'None'. Set the 'Grade' to 'Point' and set a valid value for the 'Grade to pass' field. Re-edit the activity and ensure the 'Grade to pass' setting has saved successfully. Enter a new value for the 'Grade to pass' setting and save. Re-edit the activity and ensure the 'Grade to pass' value has saved successfully. Set the 'Grade' to 'None' and save. Re-edit the activity and ensure the 'Grade to pass' value is disabled but the value is still set.
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50535_master
    • Sprint:
      Team Beards Sprint 9

      Description

      If you are creating/editing a forum and place a valid value in the 'Grade to pass' input and save then re-edit the forum you will notice that there is no value in the 'Grade to pass' input.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Sep/15