[Vtigercrm-commits] [vtiger development] #7609: Deadlock occured for events: <EventHandlerClassName>
    vtiger development 
    vtiger-tickets at trac.vtiger.com
       
    Fri Nov 30 10:45:18 PST 2012
    
    
  
#7609: Deadlock occured for events: <EventHandlerClassName>
-----------------------+----------------------------------------------------
 Reporter:  prasad     |        Owner:  developer
     Type:  defect     |       Status:  new      
 Priority:  major      |    Milestone:  6.0.0    
Component:  vtigercrm  |      Version:  5.4.0    
 Severity:  High       |   Resolution:           
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by prasad):
 Observation:
 File: include/events/VTEventTrigger.inc
 CompletedEvents tracking is failing when there is condition involved and
 module whose record being saved in not in the condition.
 {{{
 function trigger($data){
    ....
    $condition = new VTEventCondition($eventInfo['condition']);
    if($condition->test($data)){
         // NOTE: When Accounts module record is saved - it never enters
 this loop
         // as the condition is moduleName in ['SMSNotifier', 'Quotes',
 'SalesOrder', 'Invoice']
    }
    if($handlerCounter == 0 && count($eventInfos) >
 count($completedEvents)) {
         // NOTE: As a result the event-handler gets into the
 uncompletedEvents array and Exception is thrown!
    }
 }
 }}}
-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7609#comment:2>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
    
    
More information about the vtigercrm-commits
mailing list