[Zope3-dev] Interface field type
Shane Hathaway
shane at hathawaymix.org
Fri Nov 12 19:12:51 EST 2004
Today I wrote a containerViews directive and accidentally pointed the
"for" attribute at a class rather than an interface. Zope blew up when
trying to build the ZMI menu. The error was confusing and not related to
the real problem.
So I'm thinking that in addition to the GlobalObject field type, there
should also be a GlobalInterface field type. Alternatively, uses of
GlobalObject that expect an Interface should pass a value_type that checks
for interfaces. Which would be better?
Shane
More information about the Zope3-dev
mailing list