[Grok-dev] object relationships

Jeroen Michiel jmichiel at yahoo.com
Fri Feb 13 08:11:45 EST 2009

Martijn Faassen-2 wrote:
> I have just released z3c.relationfield 0.4.1 which should fix this issue.

It works now!
Looking at your widget code, I must have been very close in my attempt last
week, perhaps something small I forgot...

I still have a small issue if I want to remove my app:
line 36, in removeRelations
    catalog = component.getUtility(ICatalog)
line 207, in getUtility
    raise ComponentLookupError(interface, name)
ComponentLookupError: (<InterfaceClass zc.relation.interfaces.ICatalog>, '')

It seems the catalog is unregistered before the objects are removed, or
something of that nature...

At least I can write a nice how-to now!
BTW: I had already found a nicer way to use a regular choice field with a
relation than what I described before, but I'll put it in the how-to as

Speaking of how-to's: I already made a how-to on zc.sourcefactory that I
submitted for reviewing, but it hasn't been reviewed yet. Do I need to do
anything more? Or is this no longer the way how-to's should be submited?
View this message in context: http://www.nabble.com/object-relationships-tp21706997p21996047.html
Sent from the Grok mailing list archive at Nabble.com.

More information about the Grok-dev mailing list