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

WEBCT Import does not work for 2,0

    Details

    • Testing Instructions:
      Hide

      Import the attached sample files using the Webct import format.

      • Verify no warning or error is displayed during import
      • Verify that the imported questions match he description given here
      • verify that he imported questions are editable and working.

      Import of the webct_essay_questions.txt

      This file contains one essay question. Import of essay questions is a new feature of the webct import format, it was no working in Moodle 1.9
      name: Question ES #1
      text: What are some of the benefits to using an open source application such as Moodle over a closed source application?
      Response format: HTML editor
      input box size: 15 lines
      attachments: no
      response template: empty
      informations for graders: 1. Moodle is Free, so no yearly costs
      2. You can customize Moodle to fit your needs
      3. You have the ability to fix bugs rather than waiting for a company that may / may not address them.

      Import of the the_4_questions.txt file

      note that there is some French language in these questions but understanding of French is not a requirement for the tester You don't need to know anything on Canada and Québec either
      As its name imply, this file contains 4 questions.

      name: Multiple choice
      type: multichoice
      text: Which of the following cities are NOT located in Québec province? Montréal, New York, Paris,Québec,Sherbrooke,
      One answer only
      Choice 1: New York Feedback: There is an another city; Paris
      Choice 2: Paris Feedback: There is an another city; New York
      Choice 3: New York, Paris Feedback: Good
      Choice 4: Sherbrooke Feedback: It is located in Québec province

      name: réponse courte, short answer
      type: shortanswer
      text: What is the most populated city in Québec province? Montréal, Québec, Sherbrooke
      case sensitivity: No case is unimportant
      Answer 1: Montréal Grade: 100%
      Answer 2: Québec Grade: 50%
      Answer 3: Sherbrooke Grade 10%

      name: correspondance (matching)
      type: match
      text: Match the information
      Question 1: Québec province capital Answer: Québec
      Question 2: Québec province most populated city Answer: Monrtéal
      Question 3: Québec province second populated city Answer: Laval

      name: calculated\:surface d'un carré (there is a small glitch here: surely the backslash should be removed, I will create a separate isssue to take care of the problem afer discussion with Pierre Pichet when he come back from holidays, so don't fail the issue for that)
      type: calculated
      text: Quelle est la surface en m2 d'un carré ( square) ayant un côté (side) de {l}m ?
      Answer 1 formula = {l}*{l} Grade: 100%
      Tolerance: 0 Type: relative
      Answer display: 1 Format: decimal
      Wild card(l) will use the same exising private daaset as before
      Range of values Minimum: 10 Maximum: 100 Decimal place: 0
      There are 10 existing sets
      1:51
      2:32
      3:57
      4:94
      5:38
      6:54
      7:87
      8:90
      9:78
      10:39
      You need to choose 10 in the "set(s) of wild card(s) values" dropdown menu and click on the Display button to see them all.

      Import of the WEB-CTv3.zip file

      This is the same sample that the webct_essay_questions.txt but as a zip archive to verify that the feature to import zip archives (new in this version it was no available in Moodle 1.9) is working. Unfortunately I don't have any sample file with images
      You should get the same Question ES #1 essay question

      Final note

      I am less confident in this import format than on other ones I have fixed because I have not many sample files, but as Tim said in the comments, this is broken on all stables branches since Moodle 2.0 so let's integrate something working and fix bugs when they are discovered

      Show
      Import the attached sample files using the Webct import format. Verify no warning or error is displayed during import Verify that the imported questions match he description given here verify that he imported questions are editable and working. Import of the webct_essay_questions.txt This file contains one essay question. Import of essay questions is a new feature of the webct import format, it was no working in Moodle 1.9 name: Question ES #1 text: What are some of the benefits to using an open source application such as Moodle over a closed source application? Response format: HTML editor input box size: 15 lines attachments: no response template: empty informations for graders: 1. Moodle is Free, so no yearly costs 2. You can customize Moodle to fit your needs 3. You have the ability to fix bugs rather than waiting for a company that may / may not address them. Import of the the_4_questions.txt file note that there is some French language in these questions but understanding of French is not a requirement for the tester You don't need to know anything on Canada and Québec either As its name imply, this file contains 4 questions. name: Multiple choice type: multichoice text: Which of the following cities are NOT located in Québec province? Montréal, New York, Paris,Québec,Sherbrooke, One answer only Choice 1: New York Feedback: There is an another city; Paris Choice 2: Paris Feedback: There is an another city; New York Choice 3: New York, Paris Feedback: Good Choice 4: Sherbrooke Feedback: It is located in Québec province name: réponse courte, short answer type: shortanswer text: What is the most populated city in Québec province? Montréal, Québec, Sherbrooke case sensitivity: No case is unimportant Answer 1: Montréal Grade: 100% Answer 2: Québec Grade: 50% Answer 3: Sherbrooke Grade 10% name: correspondance (matching) type: match text: Match the information Question 1: Québec province capital Answer: Québec Question 2: Québec province most populated city Answer: Monrtéal Question 3: Québec province second populated city Answer: Laval name: calculated\:surface d'un carré (there is a small glitch here: surely the backslash should be removed, I will create a separate isssue to take care of the problem afer discussion with Pierre Pichet when he come back from holidays, so don't fail the issue for that) type: calculated text: Quelle est la surface en m2 d'un carré ( square) ayant un côté (side) de {l}m ? Answer 1 formula = {l}*{l} Grade: 100% Tolerance: 0 Type: relative Answer display: 1 Format: decimal Wild card(l) will use the same exising private daaset as before Range of values Minimum: 10 Maximum: 100 Decimal place: 0 There are 10 existing sets 1:51 2:32 3:57 4:94 5:38 6:54 7:87 8:90 9:78 10:39 You need to choose 10 in the "set(s) of wild card(s) values" dropdown menu and click on the Display button to see them all. Import of the WEB-CTv3.zip file This is the same sample that the webct_essay_questions.txt but as a zip archive to verify that the feature to import zip archives (new in this version it was no available in Moodle 1.9) is working. Unfortunately I don't have any sample file with images You should get the same Question ES #1 essay question Final note I am less confident in this import format than on other ones I have fixed because I have not many sample files, but as Tim said in the comments, this is broken on all stables branches since Moodle 2.0 so let's integrate something working and fix bugs when they are discovered
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:

      Description

      The WEBCT import code needs to be updated to 2,0 and 2,1 question structure

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  6 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Sep/13