Truncating entries in assignment - possible cure?

Truncating entries in assignment - possible cure?

by Phil Riding -
Number of replies: 1
Hi

We were having an issue with truncated text in the assignment module. It is truncating entries over a particular size.

It seems that the relevant fileld is a TEXT one that only allows 64k or so of characters. So, we tried changing the type of column 'data1' in table 'mdl_assignment_submissions' from TEXT to MEDIUMTEXT - we're using MySQL. Apparently MEDIUMTEXT allows much larger entries.

This seems to work OK, and we can put in longer texts.

However we'd like to be reassured that we are not messing anything else up by doing this. Any comments?

Thanks

Phil
Average of ratings: -
In reply to Phil Riding

Re: Truncating entries in assignment - possible cure?

by Art Lader -
Hi, Phil,

Thank you for posting this.

If it works out, wopuld you consider putting something in the tracker [http://tracker.moodle.org/] about it?

Regards,
Art