lorenzo / audit-stash

Flexible and rock solid audit log tracking for CakePHP 3
MIT License
78 stars 37 forks source link

Fix double-save when save type is afterSave #83

Closed cnizzardini closed 8 months ago

cnizzardini commented 8 months ago

There was a bug when up-porting this from 3.x causing double-save to the log. When 'AuditStash.saveType' is "afterSave" then after commit event listeners should not be added.

cnizzardini commented 8 months ago

FYI @dereuromark and @arusinowski I am merging this in.