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

Coding error in calculated multichoice question type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.5.4, 2.6.1
    • Questions
    • None
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-44267-calc-multichoice-hints
    • Hide

      Create new Calculated multichoice question
        Question Name: "Test"
        Quesiton Text: "The answer is {A}"
        One or multiple answers: Multiple answers allowed
        Answers:
          Choice1: "{A}"
          Grade1 "100%"
          Choice2: "Not this"
          Grade2 "-10%" 
        Hint1: "Try again"  (Under multiple tries section)
      Click "Save changes"
       
      Now make some dataset:
        Click "Next page" to accept the defaults
        Click "Add" To add one item. The value isn't important.
        Click "Save changes"
       
      Next preview the question "Test"
       
      Set "How questions behave" to "Interactive with multiple tries"
      Click "Start again with these options"
       
      Select both answers in the question.
      Click "Check"
       
      There should be a button which says "Try again".  There should not be a moodle coding error.
      
      

      Show
      Create new Calculated multichoice question Question Name: "Test" Quesiton Text: "The answer is {A}" One or multiple answers: Multiple answers allowed Answers: Choice1: "{A}" Grade1 "100%" Choice2: "Not this" Grade2 "-10%" Hint1: "Try again" (Under multiple tries section) Click "Save changes"   Now make some dataset: Click "Next page" to accept the defaults Click "Add" To add one item. The value isn't important. Click "Save changes"   Next preview the question "Test"   Set "How questions behave" to "Interactive with multiple tries" Click "Start again with these options"   Select both answers in the question. Click "Check"   There should be a button which says "Try again". There should not be a moodle coding error.

      The calculated multichoice question type doesn't use the right class for restoring hints, resulting in a coding error.

            mpetrowi Matt Petro
            mpetrowi Matt Petro
            Tim Hunt Tim Hunt
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.