fix object to be updatedt: 'target' instead of 'context'
This commit is contained in:
parent
f48bfc692e
commit
e4fb003448
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class ChangeState(ChangeStateBase, EditObject):
|
|||
def update(self):
|
||||
formData = self.request.form
|
||||
# store data in context (unless field.nostore)
|
||||
self.object = self.context
|
||||
self.object = self.target
|
||||
formState = self.instance.applyTemplate(data=formData)
|
||||
# TODO: check formState
|
||||
# track all fields
|
||||
|
|
Loading…
Add table
Reference in a new issue