[Vtigercrm-commits] [vtiger development] #5468: vtlib: Infinite loop when an Entity creates another entity trough aftersave Event

vtiger development vtiger-tickets at trac.vtiger.com
Wed Feb 11 22:52:27 EST 2009


#5468: vtlib: Infinite loop when an Entity creates another entity trough aftersave
Event
------------------------+---------------------------------------------------
  Reporter:  joebordes  |       Owner:  sidharth 
      Type:  defect     |      Status:  new      
  Priority:  critical   |   Milestone:  5.1.0    
 Component:  vtigercrm  |     Version:  5.1.0-wip
Resolution:             |    Keywords:           
------------------------+---------------------------------------------------
Comment (by sidharth):

 This is something the developer will have to handle in their own code.
 There are events that will have to run on every save.

 We could come up with some tools that, make it easier to control such
 recursions. A stack of handler, entity_name, entity_id arrays could help
 you decide wether the current handler needs to be executed.

 The handler has to execute for all entities.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5468#comment:2>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list