ZF2-218: White page if no params array is returned from controller action

Issue Type: Bug Created: 2012-03-13T15:19:41.000+0000 Last Updated: 2012-03-13T15:29:30.000+0000 Status: Resolved Fix version(s): Reporter: Amit Dar (amitdar) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\View

Related issues: Attachments:


If the controller action has no return value at all i get white page as the result

I think this problem can be found at injectViewModelListener::injectViewModel() line 86, should consider null result and change it to array


Posted by Matthew Weier O'Phinney (matthew) on 2012-03-13T15:28:27.000+0000

This is fixed in current master already:…

Posted by Matthew Weier O'Phinney (matthew) on 2012-03-13T15:29:30.000+0000

Fixed in master last week with this commit:…

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.