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

Single view shows empty grade for all manual grade items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8 regressions, 2.8.1
    • Fix Version/s: 2.8.2
    • Component/s: Gradebook
    • Testing Instructions:
      Hide

      Manual testing

      1. Create or edit a course.
      2. Add a few assessable activities (assignments are good).
      3. Go to the gradebook (Categories and items).
      4. Create a two manual grade items.
      5. Add a category.
      6. Add a manual grade item to that category.
      7. Add a manual grade item to the course category.
      8. Go to the single view and select a user.
      9. Override a normal grade item and set a grade.
      10. Give grades for both manual grade items and update.
      11. When you are back at the single view page check that both manual items have the grades that you entered.
      12. Check that the overridden grade is still set.
      13. Check that there is a figure for the Category total.
      14. Check that there is also a figure for the Course total.
      15. Click on the pencil next to one of the manual grade items (Far left side of the grade item).
      16. Set grades for some of the students.
      17. Check after saving that the grades are still visible.

      Behat testing

      1. Run the following feature: grade/report/singleview/tests/behat/singleview.feature
      2. All tests are expected to pass.
      Show
      Manual testing Create or edit a course. Add a few assessable activities (assignments are good). Go to the gradebook (Categories and items). Create a two manual grade items. Add a category. Add a manual grade item to that category. Add a manual grade item to the course category. Go to the single view and select a user. Override a normal grade item and set a grade. Give grades for both manual grade items and update. When you are back at the single view page check that both manual items have the grades that you entered. Check that the overridden grade is still set. Check that there is a figure for the Category total. Check that there is also a figure for the Course total. Click on the pencil next to one of the manual grade items (Far left side of the grade item). Set grades for some of the students. Check after saving that the grades are still visible. Behat testing Run the following feature: grade/report/singleview/tests/behat/singleview.feature All tests are expected to pass.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-48347-master
    • Sprint:
      BACKEND Sprint 19
    • Issue size:
      Medium

      Description

      Message from forum:

      Several items in my grade book have been added in the old "Simple View" now called "Categories and Items". When updating my marks for one of these items in "Single View" either by item or by student, after I hit "Update", I receive a message saying the number of marks that have been updated. When I go to the Grader Report, they are updated there; however, when I go back to "Single View", the marks remain blank! So when I'm updating an item or a student, I constantly think they have a mark missing when it really isn't! It makes it hard to use "Simple View" when you can't trust what you're seeing!

      Am I missing something? or this a glitch?

      https://moodle.org/mod/forum/discuss.php?d=275037

      (I confirmed this is a bug)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Simey Lameze
              Integrator:
              David Monllaó
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Jan/15