View Issue Details

IDProjectCategoryView StatusLast Update
0000048SOGoBackend Generalpublic2009-08-04 14:53
ReporterwsourdeauAssigned Touser4 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version1.0.3 
Summary0000048: Unsubscribing from a folder in DAV causes a crash in SOGoGCSFolder.m
Description

First: tmp is considered as a dictionary while it is actually an array in this case, as shown on the next line.
Second: the folders are referred here with their nameInContainer rather than with their "subscriptionPointer".

(gdb) p tmp
$1 = (class NSMutableDictionary *) 0x1695e10
(gdb) po tmp
(anton, lucie_personal, personal10000, personal3, personal2, emmanuel_personal, "7230-48D7F200-1-3C035120", francis_A_test_D_com_personal)
(gdb) po subscriptionPointer
wolfgang@test.com:Calendar/personal
(gdb) list 700
695 tmp = [moduleSettings objectForKey: @"FolderColors"];
696 if (tmp)
697 [tmp removeObjectForKey: subscriptionPointer];
698
699 tmp = [moduleSettings objectForKey: @"InactiveFolders"];
700 if (tmp)
701 [tmp removeObjectForKey: subscriptionPointer];
702
703 tmp = [moduleSettings objectForKey: @"FolderSyncTags"];
704 if (tmp)

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2009-07-07 14:32 wsourdeau New Issue
2009-07-07 14:32 wsourdeau Status new => assigned
2009-07-07 14:32 wsourdeau Assigned To => user4
2009-07-07 14:54 user4 Status assigned => resolved
2009-07-07 14:54 user4 Resolution open => fixed
2009-08-04 14:53 francis Fixed in Version => 1.0.3