--- MPIWGWeb/Attic/MPIWGTemplate.py 2012/01/09 10:36:48 1.1.2.11 +++ MPIWGWeb/Attic/MPIWGTemplate.py 2012/01/09 13:14:46 1.1.2.12 @@ -9,6 +9,7 @@ from OFS.Folder import Folder from AccessControl import ClassSecurityInfo from MPIWGHelper import * from ZODB import FileStorage, DB +import transaction # dummy definitions for backwards compatibility import MPIWGFeature @@ -79,6 +80,7 @@ class MPIWGTemplate(ZopePageTemplate): rendered = self.pt_render() templates[self.absolute_url()]=rendered logging.debug("harvest:"+self.absolute_url()) + transaction.commit() return rendered except: logging.error("cannot harvest: %s"%self.absolute_url())