[Zope] ID update fails to change ID in ZMI

Stefan H. Holek stefan at epy.co.at
Mon May 3 18:45:20 EDT 2004


It's a bit of a no-no in Zope to change an object's id after it has 
been "seated" into an object manager. If you really need to do so use 
the ObjectManager API, i.e. manage_renameObject().

The reason is that object managers keep an internal list of subobject 
ids, and when this list disagrees with reality all kind of havoc is 
caused, as you have discovered.

Stefan


On Montag, Mai 3, 2004, at 23:27 Europe/Vienna, pieter claassen wrote:

> Any comments?

--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.               /Pete McBreen/




More information about the Zope mailing list