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

New generic block: activity results

    XMLWordPrintable

Details

    • MOODLE_28_STABLE
    • MOODLE_29_STABLE
    • MDL-48969_m29v9
    • Hide

      This issue comes with extensive behat tests.
      Run all behat tests for @block_activity_results

      Upgrade and backup test

      1. Before upgrade add block 'quiz_results' to some courses and quizzes
      2. Backup this course
      3. Update the source code and run upgrade process
      4. Make sure all instances of quiz_results block are replaced with instances of activity_results block
      5. Restore the course and make sure that blocks are restored
      6. Ensure the quiz results block is hidden in Site administration / ▶ Plugins / ▶ Blocks / ▶ Manage blocks

      New Install test

      1. Install a new site and ensure the quiz results block is hidden

      Exploratory test (added by Dan P)

      1. Add some activity modules with with grades, multiple students and try adding the block around the place ensuring it behaves as expected
      Show
      This issue comes with extensive behat tests. Run all behat tests for @block_activity_results Upgrade and backup test Before upgrade add block 'quiz_results' to some courses and quizzes Backup this course Update the source code and run upgrade process Make sure all instances of quiz_results block are replaced with instances of activity_results block Restore the course and make sure that blocks are restored Ensure the quiz results block is hidden in Site administration / ▶ Plugins / ▶ Blocks / ▶ Manage blocks New Install test Install a new site and ensure the quiz results block is hidden Exploratory test (added by Dan P) Add some activity modules with with grades, multiple students and try adding the block around the place ensuring it behaves as expected

    Description

      Currently moodle supports high scores from modules in multiple ways. Quiz uses the block_quiz_results and lesson has a broken custom implementation. Rather than implement a new module specific solution for lesson, it was suggested in https://moodle.org/mod/forum/discuss.php?d=278186 that a generic solution that could be applied to any graded module should be developed.

      This issue proposes to implement a block similar to quiz_results that can be used by any module.

      Attachments

        Issue Links

          Activity

            People

              sbourget Stephen Bourget
              sbourget Stephen Bourget
              Damyon Wiese Damyon Wiese
              Dan Poltawski Dan Poltawski
              Ankit Agarwal Ankit Agarwal
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15