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

Questionnaire response incorrectly includes "Parent Question" logic text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: Module: Questionnaire
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      A student successfully fills out a questionnaire that has 3 questions with logical branching (jump logic) and set Auto Number = "Do not number questions or pages" . Upon successful submission of the form, the user is presented with a "continue" button. If the questionnaire is setup to allow students to review their submission, clicking "continue" brings them to a preview of their submitted response. 

      However – the response also includes some logical branching notes (see attached file – text appears in RED) that SHOULD NOT be displayed to students. This didn't use to be the case in previous moodle versions and the submission preview now looks very much like the instructors survey preview which SHOULD contain the markup. 

      Video Example of Display Bug: https://www.youtube.com/watch?v=cIsT-a9bbQ0

      Steps to Repeat:

      • Create a questionnaire with at least 2 questions and allow students to view their submitted results
      • Set at least one of the questions to only appear depending on the answer of the previous question (logical branch). 
      • Response Options > Auto Number = "Do not number questions or pages"
      • Login as a student and take the survey. 
      • After completion, click the "continue button" --> Response is displayed with red "jump logic" text. Alternatively, after taking the survey, go back into the survey and view "Individual Results" (not the summary screen).
        Cause: If I setup the survey/questionnaire so that Response Options > Auto Number = "Do not number questions or pages" – the red marks appear. If I change this option to Response Options > Auto Number = "Auto number pages and questions", the red marks disappear.

      Unknown if this new behavior is intentional.

        Attachments

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: