Even though you call invokeFactory from trusted code it still does a few explicit security checks. In your event log you'll probably see somehing like "tried to set field foo but field is not writable."
By calling the getField.set pattern you are bypassing those checks. It is a perfectly acceptable solution where invokeFactory or object.edit(foo='bar' etc etc) causes problems. Just remember no call reindexObject when you're done. If you really want to know why the fields are not writable then you'll have to fire up the python debugger. Hedley _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
