Re: zogi - isPrivate of Contact
Adam Tauno Williams <[email protected]> Sun, 15 Jun 2008 21:15:45 -0400
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
> > I'm surprised that the isPrivate is still 0. > >Is this a bug? Or am I misunderstanding something. > Sounds like a bug to me. This is checked in the runContact test script <http://code.google.com/p/zogi/source/browse/trunk/TestScripts/runContact.py> I've just verified that it works (at least on my test box). The code is so straight forward - [result addObject:[NSMutableDictionary dictionaryWithObjectsAndKeys: ... [self ZERO:[eoContact valueForKey:@"isPrivate"]], @"isPrivate", ... nil]]; - it is hard to see room for a bug. What version of zOGI or ZideStore do you have? As of r554 (2007-07-27) a check was added that encoded isAccount and isPrivate as empty strings if the value was null. That was wrong. According to the commit log isAccount was changed to report zero when null in r982 (2008-06-08). I'd assume isPerson changed from '' to 0 about the same time. Do you get a PRIVATE flag in FLAGS? I suppose in hindsight that the isPrivate attribute and PRIVATE flag is redundant. :) -- OpenGroupware.org XML-RPC [email protected] http://mail.opengroupware.org/mailman/listinfo/xmlrpc