Part of lp.answers.model.question View In Hierarchy
This decorator will take a snapshot of the object before the call to the decorated workflow_method. It will fire an ObjectModifiedEvent after the method returns.
The list of edited_fields will be computed by comparing the snapshot with the modified question. The fields that are checked for modifications are: status, messages, date_solved, answerer, answer, datelastquery and datelastresponse.
The user triggering the event is taken from the returned message.
Method | __call__ | Return the ObjectModifiedEvent decorator. |