From: znek Date: Sun, 26 Feb 2006 13:42:23 +0000 (+0000) Subject: minor bugs fixed X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2ef34e2cd02a962e99a922bc8e96b060716b4e4;p=sope minor bugs fixed git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1221 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-xml/XmlRpc/ChangeLog b/sope-xml/XmlRpc/ChangeLog index 348a5159..7e3c01b2 100644 --- a/sope-xml/XmlRpc/ChangeLog +++ b/sope-xml/XmlRpc/ChangeLog @@ -1,3 +1,11 @@ +2006-02-26 Marcus Mueller + + * XmlRpcValue.m: fixed stupid bugs in -isException and -isDictionary, + which formerly lead to unreadable exception garbage whenever a + remote exception occured. NOTE: have we had proper unit tests, + this probably wouldn't have splipped through so easily. :-) + (v4.5.27) + 2005-11-17 Helge Hess * NSMutableString+XmlRpcDecoder.m: properly include string.h to fix a diff --git a/sope-xml/XmlRpc/Version b/sope-xml/XmlRpc/Version index b19f72a2..e2240cc2 100644 --- a/sope-xml/XmlRpc/Version +++ b/sope-xml/XmlRpc/Version @@ -1,3 +1,3 @@ # version file -SUBMINOR_VERSION:=26 +SUBMINOR_VERSION:=27 diff --git a/sope-xml/XmlRpc/XmlRpc.xcodeproj/project.pbxproj b/sope-xml/XmlRpc/XmlRpc.xcodeproj/project.pbxproj index 841d11d5..1aeb37e8 100644 --- a/sope-xml/XmlRpc/XmlRpc.xcodeproj/project.pbxproj +++ b/sope-xml/XmlRpc/XmlRpc.xcodeproj/project.pbxproj @@ -106,7 +106,7 @@ isa = PBXContainerItemProxy; containerPortal = AD01347106DE7F83000910D8 /* SaxObjC.xcodeproj */; proxyType = 2; - remoteGlobalIDString = AD8573DB07EF567800D5FC5B /* saxxml */; + remoteGlobalIDString = AD8573DB07EF567800D5FC5B; remoteInfo = saxxml; }; /* End PBXContainerItemProxy section */ @@ -409,14 +409,14 @@ productRefGroup = AD0133B706DE7DB0000910D8 /* Products */; projectDirPath = ""; projectReferences = ( - { - ProductGroup = AD01347706DE7F98000910D8 /* Products */; - ProjectRef = AD01347106DE7F83000910D8 /* SaxObjC.xcodeproj */; - }, { ProductGroup = AD01347506DE7F98000910D8 /* Products */; ProjectRef = AD01347306DE7F96000910D8 /* DOM.xcodeproj */; }, + { + ProductGroup = AD01347706DE7F98000910D8 /* Products */; + ProjectRef = AD01347106DE7F83000910D8 /* SaxObjC.xcodeproj */; + }, ); targets = ( AD0133B506DE7DB0000910D8 /* XmlRpc */, diff --git a/sope-xml/XmlRpc/XmlRpcValue.m b/sope-xml/XmlRpc/XmlRpcValue.m index 95098b60..9660539a 100644 --- a/sope-xml/XmlRpc/XmlRpcValue.m +++ b/sope-xml/XmlRpc/XmlRpcValue.m @@ -67,10 +67,10 @@ } - (BOOL)isException { - return [(id)[self class] isKindOfClass:[NSException class]]; + return [(id)[self value] isKindOfClass:[NSException class]]; } - (BOOL)isDictionary { - return [(id)[self class] isKindOfClass:[NSDictionary class]]; + return [(id)[self value] isKindOfClass:[NSDictionary class]]; } /* description */