ZF-7270: Changing the name property of an Zend_Form_Element does not change the index in the elements array in the container Zend_Form


When needing to replace one element in an existing Zend_Form container, the setName method does not change the key of this element.
This is crucial if you populate your form from an array of values.

(Use case: I have a form with variants where only the field names are changed, to be the same as in the DB).


Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.