[Zope3-dev] namechooser : object deleted instead of being renamed
Christophe Combelles
ccomb at free.fr
Mon Jun 18 06:20:57 EDT 2007
Hi,
I've experienced a dangerous behaviour with namechoosers :
If the namechooser computes a name which is the same as the current name,
the object is deleted!
This is simple to reproduce :
- register a name chooser that only returns "foobar"
- create your object → ok it's name is foobar
- from the Contents view of it's container, try to rename it (with a different name)
- → deleted
Someone should try to reproduce that, to be sure that's not a side effect of my
app, but I don't think so.
Christophe
More information about the Zope3-dev
mailing list