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

inconsistency in answer view with optional dropdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.3, 3.6.1
    • Fix Version/s: 3.5.4
    • Component/s: Module: Questionnaire
    • Labels:
      None
    • Plugin Version:
      3.5.3
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE

      Description

      1. Create a questionnaire (let default settings)
      2. Add a "Dropdown Box" question :

      • Question Name : foobar
      • Response is required : No
      • Question Text : foobar ?
      • Possible answers: foo, bar (one per line)
        3. Save and go to "Answer the questions..."
        4. Do NOT select a choice (let "Choose...") and submit the questionnaire
        5. Go to "View All Responses > Summary" you should see :

       Responses: 1
       1  foobar ?
       "No responses for this question."
      
      

      6. Go to "Your response" (or "View All Responses > List of responses")

      Expected : The "No responses for this question." message should appear or the dropdown should be empty or a message
      Actual : Dropdown select first value ("foo" in this case)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/19