[Vtigercrm-commits] [vtiger development] #7609: Deadlock occured for events: <EventHandlerClassName>
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Nov 30 10:37:20 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):
Ref: http://lists.vtigercrm.com/pipermail/vtigercrm-
developers/2012-November/023278.html
'''STEP 1:'''
Register event-handler for few module with condition.
{{{
<?php
$Vtiger_Utils_Log = true;
include_once 'vtlib/Vtiger/Module.php';
$moduleInstance = Vtiger_Module::getInstance('SMSNotifier');
Vtiger_Event::register($moduleInstance,
'vtiger.entity.aftersave',
'SMSNotifierHandler',
'modules/SMSNotifier/SMSNotifierHandler.php',
"moduleName in ['SMSNotifier', 'Quotes', 'SalesOrder', 'Invoice']"
);
}}}
'''STEP 2:'''
Edit Account Module Record - Fails with error.
{{{
Deadlock occured for events: SMSNotifierHandler
}}}
'''STEP 3:'''
Remove event-handler condition - Save works as expected.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7609#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list