Dependency Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002648 | SOGo | Web Preferences | public | 2014-03-10 16:53 | 2014-03-10 18:48 |
Reporter | buzzdee | Assigned To | francis | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | amd64 | OS | OpenBSD | OS Version | 5.2 |
Product Version | 2.2.1 | ||||
Fixed in Version | 2.2.2 | ||||
Summary | 0002648: crasher opening preferences | ||||
Description | There is an int compared with NSNotFound, which is long on 64Bit archs, and gives false results, leading to an exception when opening the preferences. Attached patch changes the index from int to NSUInteger (return value of NSArray objectAtIndex returns NSUInteger), and that makes it again work for me. | ||||
Tags | No tags attached. | ||||
patch-UI_PreferencesUI_UIxPreferences_m (356 bytes)
$OpenBSD$ --- UI/PreferencesUI/UIxPreferences.m.orig Mon Mar 10 17:45:05 2014 +++ UI/PreferencesUI/UIxPreferences.m Mon Mar 10 17:45:32 2014 @@ -568,7 +568,7 @@ static NSArray *reminderValues = nil; - (NSString *) reminder { NSString *value; - int index; + NSUInteger index; value = [userDefaults calendarDefaultReminder]; if (value != nil) |
|
Fixed. See https://github.com/inverse-inc/sogo/commit/cbd22762c35f73a8c2c3a81d7d47169a4f3c5753 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-10 16:53 | buzzdee | New Issue | |
2014-03-10 16:53 | buzzdee | File Added: patch-UI_PreferencesUI_UIxPreferences_m | |
2014-03-10 18:41 | francis | Relationship added | related to 0002647 |
2014-03-10 18:48 | francis | Note Added: 0006680 | |
2014-03-10 18:48 | francis | Status | new => resolved |
2014-03-10 18:48 | francis | Fixed in Version | => 2.2.2 |
2014-03-10 18:48 | francis | Resolution | open => fixed |
2014-03-10 18:48 | francis | Assigned To | => francis |