[Grok-dev] Field ZMI index view

Douglas Cerna douglascerna at yahoo.com
Wed Apr 23 02:28:52 EDT 2008


Hi everybody!

I don't know if this is a known problem, but I've been playing with grok.Indexes and noticed that the ZMI @@index view fails for some indexes.

If I define a grok.index.Field() index called 'cover' and the go to /++etc++site/Catalog/cover/@@index.html I get:

File "/docs/docs/grok/eggs/tmpeJz7jj/zope.app.form-3.4.0b2-py2.4.egg/zope/app/form/browser/itemswidgets.py", line 239, in __call__
File "/docs/docs/grok/eggs/tmp96fs4A/zope.app.component-3.4.0b3-py2.4.egg/zope/app/component/vocabulary.py", line 212, in getTerm
LookupError: <InterfaceClass myapp.interfaces.IResource>

where myapp is my package.

But If I define an grok.index..Set() index I can navigate through the ZMI to its @@registration.html view..

I guess this problem doesn't affect index functionality, but I thought it was worth mention it here :) Sorry I you already knew this!

 
Douglas

"... allí­ es cuando te das cuenta que las cosas malas pueden resultar bastante buenas..." - Lionel Messi


Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint.
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now..  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the Grok-dev mailing list