[Vtigercrm-commits] [vtiger development] #6192: Event handlers get called for any module regardless of their registration
vtiger development
vtiger-tickets at trac.vtiger.com
Thu Jul 23 14:37:55 EDT 2009
#6192: Event handlers get called for any module regardless of their registration
------------------------+---------------------------------------------------
Reporter: R.Cohen | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.1.1
Component: vtigercrm | Version: 5.1.0
Keywords: |
------------------------+---------------------------------------------------
Function Vtiger_Event::register accepts the module for which the handler
should be registered. Good.
But when CRMEntity's save function calls the VTEventsManager there is no
filtering on the current module. The event manger just fires off all
active handlers.
Interestingly there does exist a function called
ListHandlersForModule($moduleName) in VTEventsManager.inc but nobody calls
it.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6192>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list