[CMF-checkins] CVS: CMF/CMFCore - UndoTool.py:1.6.8.1
Florent Guillaume
fg@nuxeo.com
Sun, 21 Jul 2002 10:00:23 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv16614
Modified Files:
Tag: CMF-1_3-branch
UndoTool.py
Log Message:
Merged change from HEAD:
Made undo work again by removing any LF in transaction ids.
=== CMF/CMFCore/UndoTool.py 1.6 => 1.6.8.1 ===
first_transaction=first_transaction,
last_transaction=last_transaction,
PrincipiaUndoBatchSize=PrincipiaUndoBatchSize)
+ for t in transactions:
+ # Ensure transaction ids don't have embedded LF.
+ t['id'] = t['id'].replace('\n', '')
if not _checkPermission('Manage portal', portal):
# Filter out transactions done by other members of the portal.
user_name = _getAuthenticatedUser(self).getUserName()