[OGo-Developer] person::qsearch

Adam Tauno Williams developer@opengroupware.org
Fri, 16 Feb 2007 17:01:26 -0500


--=-8Ad7T+UhIJLbRKOCkto5
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2007-01-13 at 10:18 -0500, Adam Tauno Williams wrote:
> > > However, when I run -
> > >   results =3D [[self getCTX] runCommand:@"person::qsearch"
> > >                              @"qualifier", _query, nil];
> > >  - in my code I get -
> > > lookup of person::qsearchqualifier failed, missing info
> > Was a bug, the "person::qsearch" was not properly registered in the =20
> > bundle-info.plist.
> > Fixed in r1848.
> I'm running r1850 (ZideStore) and still getting this same message when I
> try to run "person::qsearch".

I've set LSDebugQSearch to YES in the NSGlobalDomain and still don't see
any messages either than: "lookup of person::qsearchqualifier failed,
missing info" in the logs.

I know my qualifier works because I can:
/usr/local/bin/ogo-qsearch-persons -login awilliam -password fred
'firstname =3D "Adam" AND name LIKE "W%"'
 - on the command line.

And this is the same qualifier my zOGI code is building:
Feb 16 21:52:27 ogo-zidestore-1.5 [13313]: >zOGIRPCAction>
_searchForContacts(...):query=3Dfirstname =3D "Adam" AND name LIKE "W%"
Feb 16 21:52:27 ogo-zidestore-1.5 [13313]: lookup of
person::qsearchqualifier failed, missing info


Like:
  results =3D [[self getCTX] runCommand:@"person::qsearch"
                             @"qualifier", query,=20
                             nil];

as in Tools/ogo-qsearch-persons.m

Is there any way to trace the lookup of logic commands?

--=-8Ad7T+UhIJLbRKOCkto5
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBF1im2LRePpNle04MRAj5YAJ4lxQm29JrfWVf5cZOZnwlkj20KcgCeOwsB
1BXjhGj52TAcIUuvC7zhROg=
=sf84
-----END PGP SIGNATURE-----

--=-8Ad7T+UhIJLbRKOCkto5--