Gotcha when using Zend_Form from the incubator
With my workload now getting a little more manageable, I can finally join Rob and keep this site full of useful updates and info. For my first, here is a small gotcha for those, like myself, who like to work on the occasionally painful cutting edge of Zend Framework development.
If you are have the incubator in your include path and are playing around with Zend_Form you may get something like the following error…
Zend_Form::__toString() must not throw an exception
…unless you remember to add the incubator view helper path in your controller like so:
$this->view->setHelperPath('/path/to/trunk/incubator/library/Zend/View/Helper/');
The reason being that Zend_Form has a few view helpers that it needs from the incubator.
Otherwise, you can avoid this issue entirely by just using the 1.5.0 Preview Release.

