api icon indicating copy to clipboard operation
api copied to clipboard

Prevent hook loops

Open fra967 opened this issue 8 years ago • 0 comments

If an afterUpdate hook calls an update method to the same collection it is associated with, an endless update loop would kick in with catastrophic consequences.

Although it is an edge case due to programming error, we should be able to prevent it.

fra967 avatar May 05 '17 12:05 fra967