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:
parent
50a7302d73
commit
568db74667
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ class WorkItem(Stateful, Track):
|
||||||
if copyData is None:
|
if copyData is None:
|
||||||
copyData = self.initAttributes
|
copyData = self.initAttributes
|
||||||
newData = {}
|
newData = {}
|
||||||
for k in self.initAttributes:
|
for k in self.initAttributes.union(set(['comment'])):
|
||||||
v = kw.get(k, _not_found)
|
v = kw.get(k, _not_found)
|
||||||
if v is _not_found and k in copyData:
|
if v is _not_found and k in copyData:
|
||||||
if action == 'start' and k in ('end',):
|
if action == 'start' and k in ('end',):
|
||||||
|
|
Loading…
Add table
Reference in a new issue