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

Question type chooser is not intelligent about headings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.5, 3.4.2, 3.5
    • Fix Version/s: 3.3.6, 3.4.3
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61715-master

      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

          Issue Links

            Activity

              People

              Assignee:
              HuongNV Huong Nguyen
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18

                  Time Tracking

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