variable [ORMEVENTHANDLER] doesn't exist

Hi guys,

I’m building my first app in Coldbox, and I’m loving it.

But I will need some answers to question and this is my first one…

I’m stuck with the following error:
http://screencast.com/t/8tSrNaTd

I happens after I try to save an ORM bean, I basically do the following code:

local.userBean = ormService.findIt(query=“from user”, params={email=rc.email});

local.userBean.setResetKey(local.resetKey);

local.userBean.save();

And it’s on that last line that I get my error. Does anyone have an idea what might be going wrong?

Kind regards,

Guust

If your user bean has an init() method, are you calling super.init() inside it?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

That was it…

Thanks Brad!

Guust