ZF-9151: Zend_Dojo_View_Helper path overrides Zend_View_Helper path
Cannot believe it, first time I use Zend_Dojo and I'm finding a major bug in the first 10 minutes (with another hour of following backtraces)... anyway, following problem:
When registering the Zend_Dojo_View_Helper path in the view, and trying to render a usual form (which is a usual Zend_Form without dijits nor dojo-enabled), Zend_Form runs through its own decorators, of which one of the default decorators wants to call the "Form" view helper. As it tries so, a naming conflict hinders it from getting Zend_View_Helper_Form, and Zend_Dojo_View_Helper_Form is rendered instead.
Generated JS code, which causes a complete DOM scan:
Error: Could not load 'dijit.form.Form'; last tried '../dijit/form/Form.js' File: http://dasprids.local/media/js/dojo.js Line: 16
Using dojo.js from http://download.dojotoolkit.org/release-1.4.1/