View Issue Details

IDProjectCategoryView StatusLast Update
0002735SOGoWeb Calendarpublic2014-05-22 14:17
Reporterbuzzdee Assigned Toludovic  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Platformamd64OSOpenBSDOS Version5.4
Product Version2.2.3 
Fixed in Version2.2.4 
Summary0002735: Exception when trying to create calendar entry with PATCH
Description

I tried to create an appointment, but the web interface throwed an exception on me.

This is an easy int -> NSUInteger transition, see attached patch to fix the issue.

TagsNo tags attached.

Activities

buzzdee

buzzdee

2014-04-25 09:45

reporter   ~0006960

if its not yet fixed already, could it be added to the 2.2.4 please

buzzdee

buzzdee

2014-04-25 09:45

reporter  

patch-UI_Scheduler_UIxComponentEditor_m (455 bytes)   
$OpenBSD$

fix exception on calendar creation on 64Bit systems

--- UI/Scheduler/UIxComponentEditor.m.orig	Fri Apr 25 10:06:39 2014
+++ UI/Scheduler/UIxComponentEditor.m	Fri Apr 25 10:44:40 2014
@@ -1162,7 +1162,7 @@ iRANGE(2);
   if ([[self clientObject] isNew])
     {
       NSString *value;
-      int index;
+      NSUInteger index;
       
       value = [userDefaults calendarDefaultReminder];
       index = [reminderValues indexOfObject: value];
ludovic

ludovic

2014-05-22 14:11

administrator   ~0007068

The fix was done on April 29th in commit 8c563c29.

Issue History

Date Modified Username Field Change
2014-04-25 09:36 buzzdee New Issue
2014-04-25 09:45 buzzdee Note Added: 0006960
2014-04-25 09:45 buzzdee File Added: patch-UI_Scheduler_UIxComponentEditor_m
2014-05-22 14:11 ludovic Note Added: 0007068
2014-05-22 14:11 ludovic Status new => resolved
2014-05-22 14:11 ludovic Resolution open => no change required
2014-05-22 14:11 ludovic Assigned To => ludovic
2014-05-22 14:17 francis Fixed in Version => 2.2.4