Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61715

Question type chooser is not intelligent about headings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.5, 3.4.2, 3.5
    • 3.3.6, 3.4.3
    • Questions
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-61715-master
    • Hide
      1. Install StudentQuiz
      2. Create an instance of the StudentQuiz activity in a course.
      3. Under 'Advanced settings' -> Untick 'Allowed question types', tick one or more question types except, but make sure that 'Description' is not ticked.
      4. Save the changes.
      5. On the main page of the activity, click the Create new question button.
      6. Confirm that the "OTHER" section is not being displayed.

      Expected result: If there is an empty section, the corresponding heading should not be displayed.

      Show
      Install StudentQuiz Create an instance of the StudentQuiz activity in a course. Under 'Advanced settings' -> Untick 'Allowed question types', tick one or more question types except, but make sure that 'Description' is not ticked. Save the changes. On the main page of the activity, click the Create new question button. Confirm that the "OTHER" section is not being displayed. Expected result : If there is an empty section, the corresponding heading should not be displayed.

    Description

      The easiest way to reproduce this is:

      • Install https://moodle.org/plugins/mod_studentquiz
      • Create an instance in a course.
      • Under 'Advanced settings' -> 'Allowed question types', turn off 'Description'
      • On the main page of the activity, click the Create new question button.

      Actual result: In the pop-up that opens, there is an OTHER heading with nothing under it.

      Expected result: If there is an empty section, the corresponding heading should not be displayed.

      Attachments

        1. Chooser.png
          22 kB
          Tim Hunt
        2. qtype_description_only.png
          33 kB
          Jun Pataleta
        3. VERIFIED_Step6_MDL-61715.PNG
          17 kB
          Anna Carissa Sadia

        Issue Links

          Activity

            People

              HuongNV Huong Nguyen
              timhunt Tim Hunt
              Tim Hunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Anna Carissa Sadia Anna Carissa Sadia
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h