[Zope-PTK] Broken Product - reload?

Kent Polk kent@goathill.org
21 Mar 2001 22:00:00 GMT


Ok, I broke the CMFCore with a typo. I fixed the source file, but
I can't figure out how to get Zope to reload the fixed version.
CMFCore remains broken and Control_panel/Products/CMFCore complains
about the error, which no longer exists. I've tried everything
short of nuking the CMF instance I'm running, and I'd really rather
not do that. :^(

I've seen this once before and the only way I removed the problem
was by deleting the instance that used the product.

How do you force Zope to reload the *new* version of the file?

BTW, Shane, I discovered that the problem with the 'recipient'
variable was due to the RequestItem objects picking up the default
workflow. I was attempting to determine another way to select the
correct workflow when this problem occurred.

Thanks