From 68432b528dc6dc415b9eb2db9c571e133f812d14 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 11 Sep 2008 17:56:02 +0000 Subject: [PATCH] Monotone-Parent: 794bd6c67a62a2d6361c85b53be9c00bd3f3bbf8 Monotone-Revision: 72f5e703f3c441de88fb23964d0260f26fe12527 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-11T17:56:02 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 7 +++++++ SoObjects/SOGo/SOGoObject.m | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed4652b16..b149e7b45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-11 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoObject.m ([SOGoObject + -lookupName:lookupNameinContext:localContextacquire:acquire]): do + not use the object returned by "bindToObject:inContext:". + Otherwise the clientObject isn't set in the context. + 2008-09-10 Wolfgang Sourdeau * UI/MailPartViewers/UIxMailPartAlternativeViewer.m diff --git a/SoObjects/SOGo/SOGoObject.m b/SoObjects/SOGo/SOGoObject.m index 580efdc11..e7ebed6de 100644 --- a/SoObjects/SOGo/SOGoObject.m +++ b/SoObjects/SOGo/SOGoObject.m @@ -400,7 +400,7 @@ SEL SOGoSelectorForPropertySetter (NSString *property) { obj = [[self soClass] lookupKey: lookupName inContext: localContext]; if (obj) - obj = [obj bindToObject: self inContext: localContext]; + [obj bindToObject: self inContext: localContext]; } if (obj)