[fw-general] New Unit Testing tutorial

2013-02-21 Thread Robert Basic
Hi all! I got a couple of questions about this week, so here it is for everyone: The Unit Testing sections from the User Guide aka Akrabat's Album tutorial have been moved to a completely new tutorial on unit testing: http://www.framework.zend.com/manual/2.1/en/tutorials/unittesting.html Hope

[fw-general] Re: [zf-contributors] New Unit Testing tutorial

2013-02-21 Thread Robert Basic
On 21 February 2013 10:36, Vincent BLANCHON blanchon.vinc...@gmail.com wrote: Hi all, I think the doc is not up to date. The second part of Bootstrapping your tests is useless, the application bootstraping is make by Zend\Test\PHPUnit\AbstractControllerTestCase. The bootstrapping needs

[fw-general] Zend_Controller_Router_Exception: Route default is not defined

2013-02-21 Thread Andrea Giannantonio
In my app with several modules, I have a method that sends an email, the text use the url view helper to build a link. If I execute this method via browser everything works correctly, but if I run this method via a cron via shell I get this error: *Fatal error: Uncaught exception

[fw-general] Re: [zf-contributors] New Unit Testing tutorial

2013-02-21 Thread Vincent BLANCHON
Hi all, I think the doc is not up to date. The second part of Bootstrapping your tests is useless, the application bootstraping is make by Zend\Test\PHPUnit\AbstractControllerTestCase. I write this doc on unit tests, but i think there is a bad merge ? * Vincent BLANCHON Expert PHP Zend

Re: [fw-general] Post/Redirect/Get Plugin don't take into account baseUrl

2013-02-21 Thread Matthew Weier O'Phinney
On Tue, Feb 12, 2013 at 10:14 AM, whisher whishe...@gmail.com wrote: Hi, I'm still just playing around (the play is quite over :) ) so I tried within an action controller to call prg method to redirect to a specific action like this return $this-prg('/auth/login',true); my current url is

Re: [fw-general] ZF2_PATH and ZEND_SERVER_MODULES_PATH

2013-02-21 Thread Ralph Schindler
X-Powered-By: PHP/5.3.21 ZendServer/5.0 I think you need Zend Server 6 for this to work out of the box. Zend Server 6 will ship with the ZendServerGateway module with the ZEND_SERVER_MODULES_PATH environment variable set and pointing to the correct place. Sure enough, /vendor is totally

[fw-general] Any way for Zend to turn php warnings/notices into exceptions ?

2013-02-21 Thread Timothy Madden
Hello Is there a way in Zend that allows me to turn php warnings and notices into exceptions ? In my application an undefined array index or a foreach() statement that tries to iterate a NULL variable is clearly an application error, not a notice or warning. Is there a way for the Zend

[fw-general] Re: Any way for Zend to turn php warnings/notices into exceptions ?

2013-02-21 Thread Marco Pivetta
Did you already look into Zend\Stdlib\ErrorHandler? https://github.com/zendframework/zf2/blob/master/library/Zend/Stdlib/ErrorHandler.php Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 21 February 2013 19:30, Timothy Madden [via Zend Framework Community]

Re: [fw-general] Any way for Zend to turn php warnings/notices into exceptions ?

2013-02-21 Thread Matthew Weier O'Phinney
On Thu, Feb 21, 2013 at 11:19 AM, Timothy Madden terminato...@gmail.com wrote: Is there a way in Zend that allows me to turn php warnings and notices into exceptions ? In my application an undefined array index or a foreach() statement that tries to iterate a NULL variable is clearly an

[fw-general] Zend Framework 2.1.3 Released!

2013-02-21 Thread Matthew Weier O'Phinney
The Zend Framework community is pleased to announce the immediate availability of Zend Framework 2.1.3! Packages and installation instructions are available at: http://framework.zend.com/downloads/latest This release has been pushed out quickly on the heels of 2.1.2 to fix an issue with