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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.3
    • 2.7.3, 2.7.7, 3.3
    • Module: Questionnaire
    • None

      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.

            mchurch Mike Churchward
            angrycat Jeremy Hopkins (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.