onBeforeSave syntax failing

Hmm, good point - I missed that. Not sure if it’s a syntax error - looks more semantic.

However, you are correct. onBeforeSave() is triggered by the save() function. Various tasks can be carried out in the onBeforeSave() function, but it certainly doesn’t make sense to call the save() function.