Closed GoogleCodeExporter closed 8 years ago
Can't pinpoint the cause of this problem..
Added a trace to the beforeValidate method. It triggered once as expected.
Added a trace to the beforeSave method. It never triggered.
Yet, the new record was created with the information supplied. No mail was sent.
Original comment by omnomnom...@gmail.com
on 9 Jun 2011 at 12:53
i just tried it out once again, and everything worked perfectly... it's
extremely weird that the record was created...
there's no ajax validation nor ajax submit, so untill you press the submit
button no other request can be sent to the database...
anyway the model rules do not allow such a behavior...
for the email issue are you sure that you can actually send emails from your
development server?
Original comment by nic...@creationgears.com
on 9 Jun 2011 at 1:58
Yes, I have gotten emails to work previously. Still at a loss as to whats
going on here! Its been a very frusterating new hours of debugging this
issue for me.
Somewhere somehow the model is getting saved prior to the initial
validation.. without triggering beforesave(); either.. how bizzare!
Original comment by omnomnom...@gmail.com
on 9 Jun 2011 at 2:15
Okay, I've solved the issue. Checking the application.log revealed that my
adminEmail param was missing (my config file was overwritten by an older
version!)
I suggest adding this into the documentation somewhere, because it is pretty
easy to overlook and there wasn't any error message!
Original comment by omnomnom...@gmail.com
on 9 Jun 2011 at 4:06
i think i'll just force during installation this as a requirement!
thanks a lot
Original comment by nic...@creationgears.com
on 10 Jun 2011 at 7:38
Original issue reported on code.google.com by
omnomnom...@gmail.com
on 9 Jun 2011 at 12:06