Commit af54b1e4 authored by Grégory Wisniewski's avatar Grégory Wisniewski

History's version field must be an empty string, not None.

See HistoryTests.checkSimpleHistory.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1792 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 399c94f6
...@@ -938,7 +938,7 @@ class Application(object): ...@@ -938,7 +938,7 @@ class Application(object):
self.local_var.txn_info.pop('id') self.local_var.txn_info.pop('id')
self.local_var.txn_info.pop('oids') self.local_var.txn_info.pop('oids')
self.local_var.txn_info['tid'] = serial self.local_var.txn_info['tid'] = serial
self.local_var.txn_info['version'] = None self.local_var.txn_info['version'] = ''
self.local_var.txn_info['size'] = size self.local_var.txn_info['size'] = size
if filter is None or filter(self.local_var.txn_info): if filter is None or filter(self.local_var.txn_info):
history_list.append(self.local_var.txn_info) history_list.append(self.local_var.txn_info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment