Re: NSBoolNumber (instance) does not recognize count info

Bjoern Stierand <[email protected]> Tue, 24 Jan 2006 22:56:35 +0100
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Organization Innovention Software
Message-ID <[email protected]>
-----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: [email protected]  jid: [email protected]
     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-----
-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc