ZF-12173: Zend_Form and Zend_Form_Element prefix paths are not prefix agnostic (namespaces)
Description
I've migrated my personal library to namespaces and I've detected that the namespaced prefix paths are not properly handled by the plugin loader because both Zend_Form and Zend_Form_Element add "_$type" as suffix to the plugin path when they should detect if the namespace separator is _ or \
Comments
Posted by Antonio J García Lagar (ajgarlag) on 2012-04-26T07:50:46.000+0000
I've submitted two diff files, one for tests and one for the fix itself. Note that this issue depends on ZF-11330, so the fix for ZF-11330 should be applied in order to make this one work.
Posted by Frank Brückner (frosch) on 2012-04-26T08:18:51.000+0000
Hi Antonio, your patch does not include:
Posted by Antonio J García Lagar (ajgarlag) on 2012-04-26T08:51:48.000+0000
I've fixed the Zend_Form_Element_File and Zend_Form_Element_Captcha addPrefixPath methods too.
Posted by Rob Allen (rob) on 2012-05-31T19:29:06.000+0000
Fixed in SVN r24848.