[OGo-Bugs][Bug 1976] deleting contatcts, enterprises or tasks, does not delete records from the obj_link table

bugs@opengroupware.org bugs@opengroupware.org
Thu, 22 May 2008 19:08:06 +0200 (CEST)


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1976





------- Additional Comments From awilliam@whitemice.org  2008-05-22 16:23 -------
object link manager provides the methods -
- (NSException *)deleteLinksTo:(EOKeyGlobalID *)_tgid   type:(NSString *)_t;
- (NSException *)deleteLinksFrom:(EOKeyGlobalID *)_sgid type:(NSString *)_t;

if a nil type is provided links are deleted irrespective of type, so adding ...
[[_context linkManager deleteLinksTo:[[self object] globalID] type:nil];
[[_context linkManager deleteLinksFrom:[[self object] globalID] type:nil];
... in executeInContext should wipe out all links.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.