Moodle QA
  1. Moodle QA
  2. MDLQA-328 Moodle 2.0 QA Cycle 2
  3. MDLQA-481

A teacher can set whether blocks are displayed on quiz attempt pages

    Details

      Description

      1. Login as a teacher, edit the settings for a quiz and set 'Show blocks during quiz attempts' to yes.
      2. Login as a student, attempt the quiz and check that blocks are displayed on the quiz attempt pages.
      3. Login as the teacher, edit the quiz settings and set 'Show blocks during quiz attempts' to no.
      4. Login as the student, attempt the quiz and check that blocks are no longer displayed on the quiz attempt pages.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Mónico Briseño Cortés added a comment - - edited

            Can anybody describes a little bit what is the meaning of ' Show blocks during quiz attempts' ?

            I choosen 'yes' and 'no' option but I couldn't see any difference on preview quiz window.

            TIA

            Monico

            Show
            Mónico Briseño Cortés added a comment - - edited Can anybody describes a little bit what is the meaning of ' Show blocks during quiz attempts' ? I choosen 'yes' and 'no' option but I couldn't see any difference on preview quiz window. TIA Monico
            Hide
            James Brisland added a comment -

            I've tried a few things.

            I've added in a HTML block at the top of the course and set it to display on any page.

            Then I've got into the quiz as a teacher and added a block at in setting it as visable only when in this quiz, but accross all mod-* pages

            I then started an attempt as the teacher and added in a block to that page, setting it as visible only within the Quiz, but across all pages.

            I then set "'Show blocks during quiz attempts" to yes (Note: When the page came back it was set to no.. see * further down)

            I logged in as a student and couldn't see the blocks during the attempt.

            • After going round in circles for a few minutes I realised that the option was never being set. It would always say "No" when I came back to the quiz settings page.

            I've noticed that in the DB config_plugins table where it holds the quiz settings it has a bunch of settings. I have noticed that all the "Advanced" settings have two fields in that table. i.e. showblocks = 0 AND showblocks_adv = 0

            II set them both to 1, but it didn't make any difference to this test case.

            Show
            James Brisland added a comment - I've tried a few things. I've added in a HTML block at the top of the course and set it to display on any page. Then I've got into the quiz as a teacher and added a block at in setting it as visable only when in this quiz, but accross all mod-* pages I then started an attempt as the teacher and added in a block to that page, setting it as visible only within the Quiz, but across all pages. I then set "'Show blocks during quiz attempts" to yes (Note: When the page came back it was set to no.. see * further down) I logged in as a student and couldn't see the blocks during the attempt. After going round in circles for a few minutes I realised that the option was never being set. It would always say "No" when I came back to the quiz settings page. I've noticed that in the DB config_plugins table where it holds the quiz settings it has a bunch of settings. I have noticed that all the "Advanced" settings have two fields in that table. i.e. showblocks = 0 AND showblocks_adv = 0 II set them both to 1, but it didn't make any difference to this test case.
            Hide
            James Brisland added a comment -

            Bug created MDL-24727

            Show
            James Brisland added a comment - Bug created MDL-24727
            Hide
            Helen Foster added a comment -

            Thanks to Tim for fixing MDL-24727. I'm just going to reset this test so it can be run again.

            Show
            Helen Foster added a comment - Thanks to Tim for fixing MDL-24727 . I'm just going to reset this test so it can be run again.
            Hide
            Andrea Bicciolo added a comment -

            Can't see any difference among the two settings. Blocks are always present regardless the setting.

            Show
            Andrea Bicciolo added a comment - Can't see any difference among the two settings. Blocks are always present regardless the setting.
            Hide
            Helen Foster added a comment -

            Thanks everyone for your comments. I've also found that the setting 'Show blocks during quiz attempts' has no effect when previewing a quiz, however it does have an effect if you login as a student and attempt the quiz. Thus I'm amending the test description accordingly.

            Show
            Helen Foster added a comment - Thanks everyone for your comments. I've also found that the setting 'Show blocks during quiz attempts' has no effect when previewing a quiz, however it does have an effect if you login as a student and attempt the quiz. Thus I'm amending the test description accordingly.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: