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

error on viewing survey responses or download the data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Survey
    • Labels:
    • Testing Instructions:
      Hide

      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.

      Show
      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.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      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()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rwijaya Rossiani Wijaya
                Reporter:
                rwijaya Rossiani Wijaya
                Peer reviewer:
                Ankit Agarwal
                Integrator:
                Aparup Banerjee
                Tester:
                Aparup Banerjee
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/11