Commit 041d2bca authored by Yoshinori Okuji's avatar Yoshinori Okuji

Send an empty history if nothing is found.

git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@210 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2f907bf3
......@@ -345,6 +345,8 @@ class OperationEventHandler(StorageEventHandler):
app = self.app
history_list = app.dm.getObjectHistory(oid, first, last - first)
if history_list is None:
history_list = []
conn.addPacket(Packet().answerObjectHistory(packet.getId(), oid,
history_list))
......
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