On Mon, Jan 14, 2008 at 06:01:27PM +0100, Christophe Combelles wrote:
> john saponara a écrit :
>> I get reasonable edit screens for my car and driver classes when I use a 
>> url like "limoService/car1/edit.html" but when I try to add the edit 
>> screens as zmi menu entries I get an error:
>>   File "C:\Python24\Lib\site-packages\zope\app\publisher\browser\menu.py", 
>> line 62, in getMenuItems
>>     result = [(ifaces.index(item._for or Interface),
>> ValueError: list.index(x): x not in list
> It looks like there is a class instead of an interface somewhere.
> Maybe try to register your CarView and DriverView for ICar and IDriver 
> interfaces instead of Car and Driver classes.

That's right.

This is a Zope 3 bug that's been fixed in SVN:

Marius Gedminas
Cheap, Fast, Good -- pick two.

Attachment: signature.asc
Description: Digital signature

Zope3-users mailing list

Reply via email to