Skip to content

Recurssion Control is not correct #28

Open
@fbouzeraa

Description

@fbouzeraa

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions