[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
Thu Feb 5 08:29:53 EST 2009
#5468: vtlib: Infinite loop when an Entity creates another entity trough aftersave
Event
-----------------------+----------------------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: critical | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-wip
Keywords: |
-----------------------+----------------------------------------------------
When you add an aftersave event to an entity and in the HandleEvent you
create (and save) another entity, it raises an infinite loop.
This occurs because VTEvenTrigger::trigger
(include/events/VTEventTrigger.inc), execute all handlers registered when
saving an entity. It should execute ONLY handler for current entity.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5468>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list