]> err.no Git - sope/commitdiff
clarified some code
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 27 Sep 2007 21:23:41 +0000 (21:23 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 27 Sep 2007 21:23:41 +0000 (21:23 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1541 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/NGObjWeb/Associations/WOKeyPathAssociation.m
sope-appserver/NGObjWeb/ChangeLog
sope-appserver/NGObjWeb/Version

index dec66ea4ebe6222ea914fdf186249195f360ca1c..32c2e4a4b153b9a4e8b7a8abca0be6186dcdfb78 100644 (file)
@@ -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
index ee71d66af48dd30b91da115dc2f6c0db492b007f..8dda4ed8584a6147ec52a653be8c424de6b5cc5b 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-27  Helge Hess  <helge.hess@opengroupware.org>
+
+       * Associations/WOKeyPathAssociation.m: clarified some code (v4.7.16)
+
 2007-09-14  Helge Hess  <helge.hess@opengroupware.org>
 
        * SoObjects/SoHTTPAuthenticator.m, SoCookieAuthenticator.m: be more
index f094a8aa417a7f853bb1d9895b3839d0b417d1bf..29df970ba2bf4e0e158eeb784228b5751b7f9544 100644 (file)
@@ -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