2 messages in com.mysql.lists.eventum-usershandleAssignmentChange() called too o...
FromSent OnAttachments
Harri Porten08 Dec 2005 13:49 
Bryan Alsdorf02 Jan 2006 21:15 
Subject:handleAssignmentChange() called too often
From:Harri Porten (por@froglogic.com)
Date:12/08/2005 01:49:03 PM
List:com.mysql.lists.eventum-users

Hi!

When implementing a custom Workflow class I noticed that the handleAssignmentChanged() function is called on each update of an issue although the assignment did *not* change. Is this expected behavior? It can be triggered by using the "Update Issue" button followed by a click on "Update".

I want to set the status of an issue to "Updated" on real changes in the list of assignees. With the function being called either way I guess we'll have to somehow extract the list of old assignees and do an array comparison with $new_assignees.

Harri.