Moodle

Moodle import of BB pools doesn't recognize short answer question type

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.1
  • Fix Version/s: 1.8.3, 1.9
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    WAMP
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

When importing BB exam formats, moodle doesn't know how to map short response to short answer. I've pasted the results of importing the attached file below. Marked as major as it relates to migration- certainlynot so important to using moodle- just to converting to moodle.

Test importation Experimentation You are logged in as Elizabeth von Briesen (Logout)You are hereMoodle / ? TestImporting / ? Import questions from file
Questions Categories Import Export
Parsing questions from import file.

Unknown or unhandled question type: "Short Response"
Unknown or unhandled question type: "Short Response"
Unknown or unhandled question type: "Short Response"
Unknown or unhandled question type: "Short Response"
Unknown or unhandled question type: "Short Response"

Importing 7 questions from file

--------------------------------------------------------------------------------

1. Which of the following is true about a situation when a student enters a quiz, looks at the questions, and then leaves the quiz to look up the answers? (Check all that apply)

--------------------------------------------------------------------------------

2. In a discussion, you are graded on the number of entries you make, regardless of the quality.

--------------------------------------------------------------------------------

3. In a discussion, you will get full value for your participation even if you make your posts very late, after the discussion is essentially over.

--------------------------------------------------------------------------------

4. In a discussion, the quality and timeliness of your posts are part of the grade.

--------------------------------------------------------------------------------

5. In a discussion, you can just copy other people's ideas and get full credit.

--------------------------------------------------------------------------------

6. Sharing ideas with a classmate while taking a quiz is a good idea because people learn best together--it is not really cheating.

--------------------------------------------------------------------------------

7. Skipping the instructions and going straight to the assignment is only cheating yourself.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Moodle Docs for this page

You are logged in as Elizabeth von Briesen (Logout)
TestImporting

Activity

Hide
Howard Miller added a comment -

Yes, clearly an oversight.

With debugging enabled, you also get a couple of notices for each question:

Notice: Undefined index: response_lid in /var/www/moodle/stable18/question/format/blackboard_6/format.php on line 307

Warning: Invalid argument supplied for foreach() in /var/www/moodle/stable18/question/format/blackboard_6/format.php on line 416

(looking for stuff in the response block that isn't there)

Show
Howard Miller added a comment - Yes, clearly an oversight. With debugging enabled, you also get a couple of notices for each question: Notice: Undefined index: response_lid in /var/www/moodle/stable18/question/format/blackboard_6/format.php on line 307 Warning: Invalid argument supplied for foreach() in /var/www/moodle/stable18/question/format/blackboard_6/format.php on line 416 (looking for stuff in the response block that isn't there)
Hide
Howard Miller added a comment -

As far as I can tell "Short Response" is just a variation on essay type questions. I have implemented this and it's in CVS, so if you can do so could you check and see if it does what you expect.

I hadn't had a good look at the BB_6 importer before and I'm afraid it's a bit of a mess, so I'm going to need to do some work on it very soon. Mostly stuff not escaped properly and the like.

Show
Howard Miller added a comment - As far as I can tell "Short Response" is just a variation on essay type questions. I have implemented this and it's in CVS, so if you can do so could you check and see if it does what you expect. I hadn't had a good look at the BB_6 importer before and I'm afraid it's a bit of a mess, so I'm going to need to do some work on it very soon. Mostly stuff not escaped properly and the like.
Hide
D.I. von Briesen added a comment -

Howard-

was surfing these issues - realized i hadn't told you that this did indeed work for us. Presume you'll build it into next release- may be a hack, but it works, and that's better than not!

Thought you might want to close the ticket, but not sure if you've added the code to the main branch (or however you call it).

Show
D.I. von Briesen added a comment - Howard- was surfing these issues - realized i hadn't told you that this did indeed work for us. Presume you'll build it into next release- may be a hack, but it works, and that's better than not! Thought you might want to close the ticket, but not sure if you've added the code to the main branch (or however you call it).
Hide
Howard Miller added a comment -

Fixed in CVS

Show
Howard Miller added a comment - Fixed in CVS

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: