[BlueBream] using catalog

Michael Howitz mh at gocept.com
Fri Sep 3 03:25:42 EDT 2010


Am 03.09.2010 um 08:07 schrieb Baiju M:
> On Fri, Sep 3, 2010 at 11:31 AM, Baiju M <baiju.m.mail at gmail.com> wrote:
>> On Fri, Sep 3, 2010 at 11:16 AM, Baiju M <baiju.m.mail at gmail.com> wrote:
>>> On Thu, Sep 2, 2010 at 9:05 PM, Ilshad Khabibullin <astoon.net at gmail.com> wrote:
>>>> Hi,
>>>> 
>>>> may be specify field_callable=False in index, default is True.
>>> 
>>> I am not sure where to specify this option.
>>> 
>>> In my project zope.intid & zope.catalog was not included
>>> from ZCML (etc/site.zcml)
>>> Now I added that but I am getting an error like this:
>>> http://gist.github.com/563456
>> 
>> This error was coming because "zope.location" was not included
>> from ZCML.
> 
> I am going to add "zope.location" to the default template.
> Should we add "zope.intid" & "zope.catalog" also ?

When you add zope.catalog, you should include zope.initid, too, as the former one relies on the latter one.
And the intid utility must be installed before the first content object gets created so it gets an intid. Otherwise it will be difficult to add intids for the content objects later. See also https://bugs.launchpad.net/zope.catalog/+bug/189783


Yours sincerely,
-- 
Michael Howitz · mh at gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development



More information about the bluebream mailing list