[ZCM] [ZC] 1062/ 1 Request "find doesn't allow to specify nested meta_types"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Sep 24 07:50:46 EDT 2003


Issue #1062 Update (Request) "find doesn't allow to specify nested meta_types"
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/1062

==============================================================
= Request - Entry #1 by to_be on Sep 24, 2003 7:50 am

The "Find" facility inside ZMI allows for searches for "All types" only, or to specify one or more of the types which can be added to the calling object.  Objects of "invisible" meta_types can't be seeked explicitely; e.g., my Portal class contains Site objects, which in turn contain Page objects. Every "Site" lives in a Portal, thus a Site can't be added anywhere but only to a "Portal". Currently, the Site is invisible everywhere outside a Portal.

But one will most likely want to search several "Site"s for specific "Page"s. Currently this is only possible using the "All types" option, which will possibly find a lot of garbage (of other types) as well.

To put it short: The list of meta_types of the "Find" tab should contain _all_ meta_types which can be contained in the calling objects, whether directly or in one of its subobjects, rather than the meta_types of objects which can be added to it.

This applies to the ZCatalog, too, which should offer types inheriting the necessary CatalogAware class only (and tell the user about this).
==============================================================




More information about the Zope-Collector-Monitor mailing list