Re: Catalog Search mit not True

"Jens W. Klein" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Klein & Partner KEG, BlueDynamics Alliance
Message-ID <1256281417.4261.1014.camel@minime>
Am Freitag, den 23.10.2009, 00:10 +0200 schrieb Stefan Antonelli:
> Hallo,
> 
> ich habe eine Katalog-Abfrage und möchte als Result alle Content Type
> deren check nicht True ist. Soweit mein Versuch:
> 
> catalog(portal_type='Content Type', check=False)
> 
> Nach der Installation des Packages liefert die Abfrage kein Ergebnis
> weil einige Objekte existieren bei denen check noch nicht gesetzt ist.
> Im Catalog stellt sich das mit None oder einem leeren Feld dar.
> 
> Wenn ich den Catalog Re-Indiziere ist das Problem behoben. Nach der
> nächsten Neu-Installation des Packages tritt es wieder auf. Kann ich
> nach so etwas wie "Not True" suchen oder habe ich ein anderes Problem
> bei der Installation des Packages?

Dein eigener Content-Type? Setze dann False als default value für das
Feld.

lg Jens
-- 
Jens W. Klein
Software Architect
Managing Director, General Partner
+43 512 890077

Klein & Partner KEG          WEB APPLICATIONS,  ZOPE,  PLONE, HOSTING
BlueDynamics Alliance        production: concept, development, design
http://bluedynamics.com      consulting: analysis, coaching, training
http://zoplo.com             management: projects, process, community



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.