[Zope] Addendum on: Why isn't my Python script updating my properties? (code included)

A M Thomas am@virtueofthesmall.com
Thu, 21 Mar 2002 13:20:30 -0500


I wrote:
> In its current form (more below on that), the script
> doesn't give an error, but neither does it update any of the other
> properties.


I didn't expand on that.  Basically, the manage_changeProperties are
being excuted without error, but if I try to do that with the
NewMenuSection property, for some reason I do get an error from Zope. 
For that reason, the NewMenuSection line is commented out in my script,
although my e-mailer is wrapping right after the # that comments it out
in the code.  The pertinent section is below:

=========== excerpt from SiteSection_edit_general ==============

# ----- NewMenuSection
# why is it failing here?
# commented out but wrapping -
context.manage_changeProperties(NewMenuSection=request['NewMenuSection'])

===================== end excerpt ============================

Many thanks,
Am Thomas
---
Virtue of the Small
http://virtueofthesmall.com