Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifecycle event beforeUpdate not working #226

Open
Duvel opened this issue Sep 4, 2014 · 3 comments
Open

Lifecycle event beforeUpdate not working #226

Duvel opened this issue Sep 4, 2014 · 3 comments

Comments

@Duvel
Copy link
Contributor

Duvel commented Sep 4, 2014

If i add this event, it isn't triggered:

this.beforeUpdate = function() {
console.log(this);
var self = this;
}

Kind regards,

Remco

@mde
Copy link
Contributor

mde commented Sep 6, 2014

Are you going through the updateProperties method, or just updating props directly on the instance?

@Duvel
Copy link
Contributor Author

Duvel commented Sep 7, 2014

I'm using the generated web form and just click save there.

Groetjes,
Remco

Op 7 sep. 2014 om 01:58 heeft Matthew Eernisse notifications@github.com het volgende geschreven:

Are you going through the updateProperties method, or just updating props directly on the instance?


Reply to this email directly or view it on GitHub.

@mde
Copy link
Contributor

mde commented Sep 7, 2014

The update method on the generated scaffold code uses updateProperties, so that sounds like it could be a real bug. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants