]> err.no Git - sope/blobdiff - sope-appserver/SoOFS/OFSPropertyListObject.m
workaround for current gstep-base KVC problem, bumped framework versions
[sope] / sope-appserver / SoOFS / OFSPropertyListObject.m
index e04f93c893ac0051a583dadd1b981a20d450e830..3ac0c23fd265ee1f30c8411547d74e669fcea3c9 100644 (file)
@@ -267,6 +267,11 @@ static int debugOn = 0;
   [self->record setObject:_value?_value:@"" forKey:_key];
 }
 
+/* ZNeK: due to a bug in gstep-base 1.12.0 KVC, we need to add this */
+- (void)setValue:(id)_value forUndefinedKey:(NSString *)_key {
+  [self handleTakeValue:_value forUnboundKey:_key];
+}
+
 - (BOOL)isStoredKey:(NSString *)_key {
   /* says whether we need to restore the object to access the key */
   if ([_key hasPrefix:@"NS"]) {