Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5615

"Never" option missing from "Students can view ALL responses"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.7.3, 2.7.7, 3.3
    • Fix Version/s: 3.3
    • Component/s: Module: Questionnaire
    • Labels:
      None

      Description

      Older versions of Questionnaire used to include and default to "Never" in the setting for "Students can view ALL responses".

      Later versions are missing "Never" from the option list which means questionnaires default to share "after answering the questionnaire".

      There is no easy way to prevent students from seeing others responses and any questionnaires which were set to "Never" and are edited have this setting changed by virtue of the fact the option list defaults to another value.

      It seems to be that the option is missing from an array on line 72 of localib.php

      The missing element is:

      $questionnaireresponseviewers = array ( QUESTIONNAIRE_STUDENTVIEWRESPONSES_NEVER => get_string('responseviewstudentsnever', 'questionnaire'),

      with this added back to the array the plugin behaves as it did before suggesting all lang strings and code for conditional behaviour are still in place.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                7 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17