TypeError: ‘Savepoints unsupported’

This is something weird error I have come across recently. Initially thought come up in my mind was about MySQL configuration setting. but after having long look at MySQL configuration file it wasn’t case. So it’s come back to Zope and Plone product level.

After spending some time I have found it was just one method need to pass parameter which was root cause of problems.

In CMFPlone.PloneTool.py look for

 sp = transaction.savepoint()

Change to

 sp = transaction.savepoint(True)

Make this changes in three method  deleteObjectsByPaths, transitionObjectsByPaths, renameObjectsByPaths

Share

Recommended Posts

Leave a Reply

Your email address will not be published. Required fields are marked *