bug fix: make sure comment is stored (from request) when copying a work item

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3185 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-01-27 16:50:10 +00:00
parent 50a7302d73
commit 568db74667

View file

@ -243,7 +243,7 @@ class WorkItem(Stateful, Track):
if copyData is None:
copyData = self.initAttributes
newData = {}
for k in self.initAttributes:
for k in self.initAttributes.union(set(['comment'])):
v = kw.get(k, _not_found)
if v is _not_found and k in copyData:
if action == 'start' and k in ('end',):