From 5dcbd2de24557b7e27238fe6138154a47a089fc1 Mon Sep 17 00:00:00 2001 From: helge Date: Thu, 27 Sep 2007 21:23:41 +0000 Subject: [PATCH] clarified some code git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1541 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- .../NGObjWeb/Associations/WOKeyPathAssociation.m | 9 +++++++++ sope-appserver/NGObjWeb/ChangeLog | 4 ++++ sope-appserver/NGObjWeb/Version | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/sope-appserver/NGObjWeb/Associations/WOKeyPathAssociation.m b/sope-appserver/NGObjWeb/Associations/WOKeyPathAssociation.m index dec66ea4..32c2e4a4 100644 --- a/sope-appserver/NGObjWeb/Associations/WOKeyPathAssociation.m +++ b/sope-appserver/NGObjWeb/Associations/WOKeyPathAssociation.m @@ -931,7 +931,16 @@ static BOOL _setValue(WOKeyPathAssociation *self, id _value, id root) { if (debugOn) [self logWithFormat:@"set value %@ component %@", _value, _component]; + // we do not check the return value, because a set is allowed to fail + // (in SOPE ;-) [if there is no accessor, a backsync is just ignored] +#if 1 _setValue(self, _value, _component); +#else + if (!_setValue(self, _value, _component)) { + [self logWithFormat:@"could not set value %@ component %@", + _value, _component]; + } +#endif } - (id)valueInComponent:(WOComponent *)_component { #if DEBUG diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index ee71d66a..8dda4ed8 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,7 @@ +2007-09-27 Helge Hess + + * Associations/WOKeyPathAssociation.m: clarified some code (v4.7.16) + 2007-09-14 Helge Hess * SoObjects/SoHTTPAuthenticator.m, SoCookieAuthenticator.m: be more diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index f094a8aa..29df970b 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=15 +SUBMINOR_VERSION:=16 # v4.7.11 requires libNGExtensions v4.7.194 # v4.5.234 requires libDOM v4.5.21 -- 2.39.5