Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Component/s: Questions
-
Labels:None
-
Environment:Linux, PostgreSQL 7 backend
-
Database:PostgreSQL
-
Affected Branches:MOODLE_17_STABLE
-
Fixed Branches:MOODLE_17_STABLE, MOODLE_18_STABLE
Description
I was attempting to import questions using the blackboard 5 type that a faculty member was having problems with and the import was silently dying during the process. After turning on debugging I saw that the question->name field was simply too big >255 for the field in the database. I fixed that in the code by truncating the name to 254 characters. Also in this patch I check to see if the questions are already in HTML encoded format, and if so, I re-interpret the HTML entities so that things like ৻ are the actual character rather than code when printed to the screen. Attached is a test case and my patch.
Attachments
Issue Links
- has been marked as being related by
-
MDL-16057 Blackboard question import broken because lib/tcpdf/html_entity_decode_php4.php no longer exists in head
-
- Closed
-