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

Answer preceding label missing when viewing all results

    XMLWordPrintable

    Details

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

      Description

      We've got a questionnaire with some radio button questions and some questions of type label.

      All answers that precede a question of type label are missing in results on the "View all responses" tab.

      On line 341 of questionnaire.class.php, questions of type label skip the incrementation of $i, so the result of this question overwrites the result of the last question.

      if ($question->type_id < QUESPAGEBREAK) {
        $i++;
      }

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: