sfdc-trigger-framework
sfdc-trigger-framework copied to clipboard
Recurssion Control is not correct
Hi, First of all I want to thank you Kevin for this great work.
In fact I discuvred some issue, the control of recurssion is based on the triggerHandler name not the exact event (Before Insert, Before Update, ...), so by this way, you w'll stop other events from running. Say for example if the before insert is running and by some way another event must run, so the control w'll stop it. we aleready encountred this scenarion.
Please find attached my proposed correction and tell me if you think I have right. https://gist.github.com/fbouzeraa/29f6b84e7a93c3c39b20631b89a97f8d Best regards,
Hey @fbouzeraa, would you mind to provide your solution as a link to a gist instead of a zip archive?
Hi @eduardyav, this is : https://gist.github.com/fbouzeraa/29f6b84e7a93c3c39b20631b89a97f8d Best regards,
I also encountered this issue, didnt expect that it will count method executions