Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.2
-
Fix Version/s: 2.0.8
-
Component/s: Assignment
-
Labels:
-
Environment:Vista, SuSE Linux 10.3 Enterprise
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
The Onliine Assignment cuts off text entry at 64k because the data field definition for mdl_assignment_submission data1 and data2 are set to text (64k)
I can confirm this. The Online Text Assignment fails silently when you have an entry that's longer than 64K, because data1/data2 are set to the type 'text'. Changing it to 'mediumtext' will significantly increase the amount of text that can be stored (from 64K to 16 MB).
This problem also effects Journal (and this is where I first saw the problem crop up) because it's mdl_journal_entries table has a similar limitation on its 'text' field – it's set to type 'text'.
On our campus, the problem occurred while students were using Journal for internship journaling; half the class ran out of space in their journal's halfway through a summer term session (with entries containing 9,000 words, or 55,000 characters). This led me to see if Online Text Assignment had the same limitation, which it did.
Making this change allowed me to add a 21,000 word, 116,000 character document without any problems.