[OGo-XML-RPC] NSBoolNumber (instance) does not recognize count info

Bjoern Stierand xmlrpc@opengroupware.org
Tue, 24 Jan 2006 22:56:35 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Jan 23, 2006, at 20:45, Adam Tauno Williams wrote:
> I'm pretty convinced that these methods are not working:
> "enterprise.delete(string id)",  "enterprise.deleteByNumber(int  
> id)" [as
> in 458312]  or "enterprise.delete(struct document)"
>
> All these result in "ObjcRuntimeException: NSBoolNumber (instance)  
> does
> not recognize count"

Yeah, this looks like a bug, would you please file a bug report on this?

After a quick look at the source (DirectAction+Enterprise.m), the
function enterprise_getPersonsAction: gets called internally, which  
can return
a NSNumber object (which causes the error as NSNumber doesn't have a  
count method).
This has to be fixed.

Greets

Bjoern

- --
   mail: bjoern@opengroupware.org  jid: wonder@jabber.de.cw.net
     gpg: F108 03FD C56F D21C D2EB  E525 1E78 AE6F A887 5547
  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD1qKUHniub6iHVUcRAnqaAJ9Hw6K7yr7nSZnIvEf4xgs0n8HXPgCglVIl
w8gkgG5UTn1McMgaDgkrNTI=
=uqxi
-----END PGP SIGNATURE-----