View Issue Details

IDProjectCategoryView StatusLast Update
0002051SOGoSOPEpublic2012-10-21 03:05
Reporterbuzzdee Assigned Towsourdeau 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.1 
Fixed in Version2.0.2 
Summary0002051: [EOSinglePrimaryKeyDictionary-count] should be overridden by subclass -- with patch
Description

I now got around, to also do the same changes to OGo like for SOPE/SOGo to get it to work with libobjc2.
Above exception happens with OGo, it seems SOGo doesn't seem to use that particular method. Its the same thing I ran into with I think NGMime... in the other bug report, switching the return value from unsigned int to NSUInteger fixes it.

See attached simple patch.

TagsNo tags attached.

Activities

2012-10-19 16:19

 

patch-sope-gdl1_GDLAccess_EOPrimaryKeyDictionary_m (322 bytes)   
$OpenBSD$
--- sope-gdl1/GDLAccess/EOPrimaryKeyDictionary.m.orig	Fri Oct 19 17:35:34 2012
+++ sope-gdl1/GDLAccess/EOPrimaryKeyDictionary.m	Fri Oct 19 17:36:01 2012
@@ -104,7 +104,7 @@
     return [key isEqual:_key] ? value : nil;
 }
 
-- (unsigned int)count {
+- (NSUInteger)count {
     return 1;
 }
 - (BOOL)isNotEmpty {
wsourdeau

wsourdeau

2012-10-21 03:05

viewer   ~0004686

Fixed in c31b6334a18b756dbe3e2fb4a52eb8a9a2f68e00

Issue History

Date Modified Username Field Change
2012-10-19 16:19 buzzdee New Issue
2012-10-19 16:19 buzzdee File Added: patch-sope-gdl1_GDLAccess_EOPrimaryKeyDictionary_m
2012-10-21 03:05 wsourdeau Note Added: 0004686
2012-10-21 03:05 wsourdeau Status new => resolved
2012-10-21 03:05 wsourdeau Fixed in Version => 2.0.2
2012-10-21 03:05 wsourdeau Resolution open => fixed
2012-10-21 03:05 wsourdeau Assigned To => wsourdeau