Skip to content

Extended UserModel class doesn't execute a function included in the beforeUpdate collection of callbacks #1055

Answered by kenjis
Elvis254 asked this question in Q&A
Discussion options

You must be logged in to vote

When updating, if you use Entity in Models, only changed fields are processed.
Check the $data passed to generateFullName().

Try to set $cleanValidationRules to false in the model.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Elvis254
Comment options

Answer selected by Elvis254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1054 on February 28, 2024 08:48.