[Zope-CMF] InvalidObjectReference - Plone
alan runyan
alan runyan" <runyaga@runyaga.com
Tue, 2 Jul 2002 17:37:03 -0500
> Does the problem go away if you restart Zope in between the
> two operations? How about if you refresh the Plone product? Either
> of these would be a clue that module-scope globals were in play.
if you restart after you create a Plone site. you can create a another Site
with no problems. you can not escape the behavior by 'refreshing' after you
create a Plone site. the InvalidObjectRef will rear its ugly head. whats
very frustrating is.. if you look here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/plone/CMFPlone/CustomizationP
olicy.py?rev=1.3&content-type=text/vnd.viewcvs-markup
this is run after the plone system has been setup. it does some extra
configuration stuff (manipulates actions on various tools)
if you put a return at the beginning of the customize method you dont get
the InvalidObjRef exception.
~runyaga