[Zope-CMF] error on renaming a custom content type

Aaron Payne aaron@aaronpayne.com
Fri, 2 Aug 2002 14:32:41 -0500


Hi everyone,

I've written a custom content type Biography for my cmf site based on 
the event type in CMFCalendar.  The new type is subclassed 
OFS.Image.Image, PortalContent, DefaultDublinCoreImpl (in that order.)

I can add, edit, delete or view an instance of the custom type with no 
problem.
Once I rename the instance, I lose the ability to perform any of these 
actions.

Calling getId() on the object returns the old id of the object.  In the 
ZMI I can see the renamed instance but in the folder_contents view the 
instance still shows the old id.

Any thoughts, suggestions on what is happening here?

Btw, I started tinkering with cmf this week and I'm impressed.

Zope 2.5.1, CMF 1.2

thanks,
Aaron

____________________________________
Aaron Payne
email: aaron@aaronpayne.com
web: http://www.aaronpayne.com