Moodle QA
  1. Moodle QA
  2. MDLQA-1190 Moodle 2.2 QA
  3. MDLQA-1239

CLONE - A teacher can view survey responses or download the data

    Details

    • Type: Functional Test Functional Test
    • Status: Passed
    • Affects Version/s: Moodle 2.2
    • Fix Version/s: Moodle 2.2
    • Component/s: Survey, Teacher
    • Labels:
      None

      Description

      This test requires a survey activity which has been completed by two or more students.

      1. Login as a teacher, access the survey and follow the 'View xx survey responses' link.
      2. Check that the responses listed per question are displayed correctly.
      3. Click the students link then select a student.
      4. Check that the student's responses are displayed correctly.
      5. Click the download link then select a format to download the data.
      6. Download the file, open it, and check that it contains all the required data.

        Issue Links

          Activity

          Hide
          Teresa Gibbison added a comment -

          Clicked 'View xx survey responses' link and received:

          Coding error detected, it must be fixed by a programmer: clean_param() can not process arrays, please use clean_param_array() instead.

          More information about this error

          Stack trace:
          line 717 of /lib/moodlelib.php: coding_exception thrown
          line 38 of /mod/survey/report.php: call to clean_param()

          Show
          Teresa Gibbison added a comment - Clicked 'View xx survey responses' link and received: Coding error detected, it must be fixed by a programmer: clean_param() can not process arrays, please use clean_param_array() instead. More information about this error Stack trace: line 717 of /lib/moodlelib.php: coding_exception thrown line 38 of /mod/survey/report.php: call to clean_param()
          Hide
          Teresa Gibbison added a comment -

          I've created MDL-30380 to report the above issue

          Show
          Teresa Gibbison added a comment - I've created MDL-30380 to report the above issue
          Hide
          Helen Foster added a comment -

          Teresa, thanks for running this test and for creating a bug report. It seems super-efficient Rosie somehow managed to create a bug report for it first though, and as she's offering to fix it (as assignee) I'm going to keep MDL-30379 open and close MDL-30380 as a duplicate.

          Show
          Helen Foster added a comment - Teresa, thanks for running this test and for creating a bug report. It seems super-efficient Rosie somehow managed to create a bug report for it first though, and as she's offering to fix it (as assignee) I'm going to keep MDL-30379 open and close MDL-30380 as a duplicate.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Reseting, MDL-30379 has been fixed.

          Show
          Eloy Lafuente (stronk7) added a comment - Reseting, MDL-30379 has been fixed.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: