Hi, I just play a little bit with the simpletest webtester functionality. By using that i discoverd that when i trigger an action that has no view (View::NONE), this will throw correctly an ViewException, cause the view does not exist in the file system.
I tried now to avoid the ViewException, but unfortunatly the exception will be thrown before it reach the action class of the module. So in my opinion I had to hack the agavi src. But perhaps am I missing something. Is there a way to handle this, like to forward to an errorpage? Here my ViewException: ViewException Message: Module "user" does not contain the view "updateInputView" or the file "/usr/local/workspace/projects/jerik/webapp/modules/user/views/updateInputView.class.php" is unreadable Code: N/A Class: N/A File: /usr/local/workspace/projects/jerik/webapp/cache/config_compile.conf.php Line: 670 Stack Trace at execute() in [/usr/local/workspace/projects/jerik/webapp/cache/config_compile.conf.php:670] at execute() in [/usr/local/workspace/projects/jerik/webapp/cache/config_compile.conf.php:701] at ExecutionTimeFilter->execute() in [/usr/local/workspace/projects/jerik/vendor/lib/agavi/src/filter/ExecutionTimeFilter.class.php:139] at execute() in [/usr/local/workspace/projects/jerik/webapp/cache/config_compile.conf.php:701] at execute() in [/usr/local/workspace/projects/jerik/webapp/cache/config_compile.conf.php:371] at FrontWebController->forward() in [/usr/local/workspace/projects/jerik/vendor/lib/agavi/src/controller/FrontWebController.class.php:85] at dispatch() in [/usr/local/workspace/projects/jerik/www/index.php:16] Info Agavi Version: 0.10.0-DEV PHP Version: 5.0.4 Regards Erik -- J. Erik Heinz Keyboard-samuraing in process _______________________________________________ agavi-dev mailing list [email protected] http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
