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

Assignment save and show next does not work for 1 user.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Pre-requirements:

      1. Log in as admin
      2. Create a course 
      3. Enrol several students in the course
      4. Create an assignment activity for the course

      Test 1

      1. Suspend all course students except for one
      2. Go to 'Site home'
      3. Click on the course link
      4. Click on the assignment activity link
      5. Under 'Grading summary' click on the 'Grade' button
      6. Add a grade in the Grade section
      7. Click on 'Save and show next' button
      8. Make sure that the view has been refreshed with the new changes (ex. the 'Current grade in gradebook' has been updated)

      Test 2

      1. Log in as one of the students which are enrolled in the course
      2. Go to 'Site home'
      3. Click on the course link
      4. Click on the assignment activity link
      5. Click on the 'Add submission' button
      6. Upload a file and click on the 'Save changes' button\
      7. Log in as admin
      8. Go to 'Site home'
      9. Click on the course link
      10. Click on the assignment activity link
      11. Under 'Grading summary' click on the 'Grade' button
      12. Click on 'Save and show next' button
      13. Repeat steps 11 and 12 several times and make sure that the grade is assigned and the next student for grading is displayed after
      14. Change the filters by clicking on the filter icon and check the 'Submitted' checkbox
      15. Make sure that only one user is now displayed (The one that submitted the submission)
      16. Add a grade in the Grade section
      17. Click on 'Save and show next' button
      18. Make sure that the view has been refreshed with the new changes (ex. the 'Current grade in gradebook' has been updated)
      Show
      Pre-requirements: Log in as admin Create a course  Enrol several students in the course Create an assignment activity for the course Test 1 Suspend all course students except for one Go to 'Site home' Click on the course link Click on the assignment activity link Under 'Grading summary' click on the 'Grade' button Add a grade in the Grade section Click on 'Save and show next' button Make sure that the view has been refreshed with the new changes (ex. the 'Current grade in gradebook' has been updated) Test 2 Log in as one of the students which are enrolled in the course Go to 'Site home' Click on the course link Click on the assignment activity link Click on the 'Add submission' button Upload a file and click on the 'Save changes' button\ Log in as admin Go to 'Site home' Click on the course link Click on the assignment activity link Under 'Grading summary' click on the 'Grade' button Click on 'Save and show next' button Repeat steps 11 and 12 several times and make sure that the grade is assigned and the next student for grading is displayed after Change the filters by clicking on the filter icon and check the 'Submitted' checkbox Make sure that only one user is now displayed (The one that submitted the submission) Add a grade in the Grade section Click on 'Save and show next' button Make sure that the view has been refreshed with the new changes (ex. the 'Current grade in gradebook' has been updated)
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-60430-master

      Description

      When there is only 1 user in the participants for an assignment (either because of filters, or if only one user is enrolled) - the save and show next button does not refresh the view. This means (for example) the grade in gradebook is not updated. This behaviour is different to clicking on the save changes button.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17