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

Impossible to create Matching type questions inside Lessons without response text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4, 2.1.1
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide

      1)Create a lesson
      2)Add a page with matching question
      3)select following options
      ->Correct answer jump: next page
      ->Correct score: 10
      ->Wrong answer jump: next page
      ->Wrong score: 0
      4)Make sure response texts are empty.
      5)add couple of matching and answer pairs
      6) Save the question
      7) edit the question by changing the following:
      ->Correct answer jump: this page
      ->Correct score: 1
      ->Wrong answer jump: this page
      ->Wrong score: 0
      8) make sure the new values are stored properly.
      9) Retry above texts with "response text" filled in. Everything works as expected.
      10)make sure to check the expanded mode and make sure it displays the correct info.

      Show
      1)Create a lesson 2)Add a page with matching question 3)select following options ->Correct answer jump: next page ->Correct score: 10 ->Wrong answer jump: next page ->Wrong score: 0 4)Make sure response texts are empty. 5)add couple of matching and answer pairs 6) Save the question 7) edit the question by changing the following: ->Correct answer jump: this page ->Correct score: 1 ->Wrong answer jump: this page ->Wrong score: 0 8) make sure the new values are stored properly. 9) Retry above texts with "response text" filled in. Everything works as expected. 10)make sure to check the expanded mode and make sure it displays the correct info.
    • Workaround:
      Hide

      always use response text in such situations

      Show
      always use response text in such situations
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Matching type Questions heavily breaks if there is no response text associated with it.
      Follow these instructions for an better idea:-
      1)Create a lesson
      2)Add a page with matching question
      3)select following options
      ->Correct answer jump - next page
      ->Correct score -10
      ->Wrong answer jump -next page
      ->Wrong score -2
      4)Make sure response texts are empty.
      5) Save the question and open the question again.
      6) Settings are automatically changed to following (Without any error)
      ->Correct answer jump - this page
      ->Correct score -0
      ->Wrong answer jump -this page
      ->Wrong score -0
      7) Retry above texts with "response text" filled in. Everything works as expected.

      Possible solutions:-
      1)Resolve the issue to allow empty response texts.
      2)Make response text fields required.

      attached screenshots of what it was configured to be and what it automatically changes to.

        Attachments

        1. less-1.PNG
          less-1.PNG
          46 kB
        2. less-2.PNG
          less-2.PNG
          47 kB

          Issue Links

            Activity

              People

              Assignee:
              rwijaya Rossiani Wijaya
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Sam Hemelryk
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Nov/11