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

Questionnaire responses not being saved

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.3
    • 2.7
    • Module: Questionnaire
    • None
    • 2014041801
    • MOODLE_26_STABLE
    • MOODLE_27_STABLE

    Description

      If a questionnaire is set up with a Page Break In the first position, if a respondent tries to save answers to resume later, the answers don't appear to be saved. The respondent cannot get back to answers.

      To reproduce

      1. Add a questionnaire
      2. Set Save/resume answers to "Yes"
      3. For the first question, add -----Page break----- (you have to do this first because the page break cannot be moved into first position later)
      4. Add a few more questions
      5. Answer a few questions in the survey and click Save (not Submit at this time)
      6. Go back to the questionnaire and click on Resume questionnaire
      7. The questions you already answered should appear here, but they don't
      8. Submit the questionnaire and no questions are answered.

      At this point if you go in an delete the page break in the first position or move it to another position, the questionnaire can be saved.

      It is not too difficult to accidentally add a page break as the first item since it is the initial default when adding questions.

      Suggestions for fixing:

      1. Change the initial default to another type of question
      2. Prohibit a page break from being added in the first position
      3. Allow a save even if the page break is in the first position

      Attachments

        Activity

          People

            rezeau Joseph Rézeau
            gbrewste Geoffrey Brewster
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14