|
catalog metadata for fields: msg#00103web.zope.plone.archetypes.devel
I'm trying to get a field in my new content type added to the metadata for portal_catalog, so I use "index='TextIndex:schema'" in the schema for the field. When I reinstall my content type product, nothing for the field is added to either the Indexes or Metadata for portal_catalog. The install_indexes function in Archetypes/Extensions/utils.py looks screwy to me, so I patched it (see attachment). Now when I reinstall I get a new item for the field in both the Indexes and Metadata. In both cases, the item name is "getFoo" for a field named "foo". Kind of odd, but it seems to work. -- Fred Yankowski fred-Gp3ZhEtj/ctBDgjK7y7TUQ@xxxxxxxxxxxxxxxx tel: +1.630.879.1312 OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370 www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problems copying a site: 00103, Mats Lidell |
|---|---|
| Next by Date: | You are Invited to Participate: 00103, Knowledge Management Solutions |
| Previous by Thread: | Problems copying a sitei: 00103, Mats Lidell |
| Next by Thread: | You are Invited to Participate: 00103, Knowledge Management Solutions |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |