Recent Topics

1 Oct 25, 2017 11:53    

Hi

I installed and enabled the _test.plugin.php to illustrate this query.

Among the plugin events is the AfterItemUpdate event which I assume is triggered on $edited_Item->dbupdate();

The query I have, is that I do not understand why this event gets triggered 3 times on a single user update request (Save/Update or create Item).

Is this a bug?

See screenshot where you may see this event fires three times (instead of only once by my understanding)

It seems that I have to make some plan to allow the plugin to execute a task using that hook/event only once because on the second and third it produces duplication errors for my plugin. ):

3 Oct 25, 2017 12:56

It seems the better Plugin hooks/events to use would be:

AdminBeforeItemEditCreate()

AdminBeforeItemEditUpdate()

AdminBeforeItemEditDelete()

This post has 1 feedback awaiting moderation...


Form is loading...