, 2.5, :
if not self._isSchemaCurrent():
logging.debug("updating schema for %s"%self.absolute_url())
try:
import transaction
transaction.begin()
self._updateSchema()
transaction.commit()
except Exception, e:
logging.error('Error updating schema at %s: %s'%(self.absolute_url(), e))
return False
else:
logging.debug("schema for %s is up to date"%self.absolute_url())
return True
, Plone 2.5.3 , plone 3, . , processForm, , , . at_post_edit_script, - . , , .
, - . !