From be1bcf3c9b63c41362d1a007590bd905f71d901c Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 22 Oct 2013 11:25:24 -0400 Subject: [PATCH] Fix for bug #2461 --- SoObjects/Appointments/iCalEvent+SOGo.m | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SoObjects/Appointments/iCalEvent+SOGo.m b/SoObjects/Appointments/iCalEvent+SOGo.m index dc01b4284..6856d89fb 100644 --- a/SoObjects/Appointments/iCalEvent+SOGo.m +++ b/SoObjects/Appointments/iCalEvent+SOGo.m @@ -64,6 +64,9 @@ return isStillRelevent; } +// +// +// - (NSMutableDictionary *) quickRecord { NSMutableDictionary *row; @@ -88,7 +91,15 @@ title = [self summary]; if (![title isNotNull]) title = @""; + + if ([title length] > 1000) + title = [title substringToIndex: 1000]; + location = [self location]; + + if ([location length] > 255) + location = [location substringToIndex: 255]; + sequence = [self sequence]; accessClass = [self symbolicAccessClass]; isAllDay = [self isAllDay];