KNL-574 substring an event with length > 32 chars so the error is not database data truncation


git-svn-id: https://source.sakaiproject.org/svn/kernel/trunk@121046 66ffb92e-73f9-0310-93c1-f5514f145a0a