Log message #2300198

# At Username Text
# Sep 22nd 2011, 13:09 ADmad ~tell eldamar about failed-save
# Sep 22nd 2011, 13:09 TehTreag eldamar: $this->Model->validationErrors is a good place to start.
# Sep 22nd 2011, 13:09 eldamar if (!$this->Model->save(data)) return $MegaCakeDebugString; ?
# Sep 22nd 2011, 13:08 TehTreag why?
# Sep 22nd 2011, 13:08 diverdude TehTreag, model
# Sep 22nd 2011, 13:08 TehTreag diverdude: What are you baking for Aco?
# Sep 22nd 2011, 13:08 eldamar is there some way to return whatever went wrong when save fails?
# Sep 22nd 2011, 13:08 diverdude anyone?
# Sep 22nd 2011, 13:02 isaqual dakota: uups.. It get initilized.
# Sep 22nd 2011, 13:01 diverdude I have Aco model (created from aco table), which throws an error when i bake: Bake is detecting possible fixtures...PHP Fatal error: Class 'AclNode' not found in /var/www/mysite/lib/Cake/Model/Aro.php on line 29... im sorry for asking again...but i could not really find anything about this. I could bake this table no probs in 1.3. Any ideas?
# Sep 22nd 2011, 12:56 isaqual dakota: I cant see params wich are set in init method
# Sep 22nd 2011, 12:56 dakota isaqual: how do you know that your helper isn't being initialised?
# Sep 22nd 2011, 12:56 dakota the helper initialisation is done in the view constructor. So it *should* work...
# Sep 22nd 2011, 12:55 isaqual Mean helper
# Sep 22nd 2011, 12:55 isaqual looks like it will never initialize that component
# Sep 22nd 2011, 12:53 isaqual hmm.. weird. Logged object is actually that helper but it doesn't just do anything.
# Sep 22nd 2011, 12:49 ADmad use the $this->log to log stuff and find out
# Sep 22nd 2011, 12:48 isaqual And very hard to debug in shell mode ..
# Sep 22nd 2011, 12:48 isaqual I get no error about missing helper but it still does nothing :/
# Sep 22nd 2011, 12:47 ADmad whats not working and what doesnt do anything
# Sep 22nd 2011, 12:47 isaqual ADmad: Does nothing actually
# Sep 22nd 2011, 12:47 isaqual ADmad: I get no error anymore but it is not working..
# Sep 22nd 2011, 12:44 isaqual ADmad: sounds good, I ll try
# Sep 22nd 2011, 12:43 ADmad isaqual: after the line $this->Controller =and new Controller(); do $this->Controller->helpers = array('foo', 'bar');
# Sep 22nd 2011, 12:43 isaqual aff.. and work day is too near to end..
# Sep 22nd 2011, 12:43 isaqual yeah
# Sep 22nd 2011, 12:43 isaqual ADmad: And there is no problems sending emails. Problem is using own helpers in email-templates.
# Sep 22nd 2011, 12:42 rchavik he can't get his helpers working in the email view
# Sep 22nd 2011, 12:42 isaqual ADmad: thanks but I've readed this many times today :)
# Sep 22nd 2011, 12:41 ADmad isaqual: http://bakery.cakephp.org/articles/Jippi/2007/12/02/emailcomponent-in-a-cake-shell
# Sep 22nd 2011, 12:40 isaqual rchavik: I can't understand how it can help in this case
# Sep 22nd 2011, 12:39 DidItAgain aright. Lemme know
# Sep 22nd 2011, 12:38 DidItAgain rchavik, Id be interested in the git project you had an idea about
# Sep 22nd 2011, 12:38 rchavik maybe create a dummy controller with all your required helpers + component, then use that in the shell
# Sep 22nd 2011, 12:37 rchavik yeah.. you're using a Controller, no name
# Sep 22nd 2011, 12:36 isaqual rchavik: "Fatal error: Class '' not found in .."
# Sep 22nd 2011, 12:34 dakota franki: you don't have to use it, but it will show you how to do it at least :)
# Sep 22nd 2011, 12:33 rchavik isaqual, try adding $this->Controller->constructClasses() after line 5
# Sep 22nd 2011, 12:32 franki im not so lucky with plugins usually
# Sep 22nd 2011, 12:31 franki lets see
# Sep 22nd 2011, 12:31 isaqual basic cake helpers works fine.. like $html