ZF-8303: Zend_Form_Decorator_Fieldset generated id is not similar with the rest of id's used on form decorators

Issue Type: Sub-task Created: 2009-11-13T13:15:46.000+0000 Last Updated: 2013-03-13T20:55:22.000+0000 Status: Open Fix version(s): - Next Mini Release ()

Reporter: Cristian Bichis (avantis) Assignee: Frank Brückner (frosch) Tags: - Zend_Form

  • After1.12.0

Related issues: - ZF-8822

Attachments: - Fieldset.php.patch



That's just a naming convention, but id's generated by fieldset decorator are looking like that:

fieldset-name. So the element name is appended

Instead of this the rest of decorators are actually prepending the name of the element:

name-element name-label aso.

That's just a small naming convention mistake, but should be fixed anyway...


Posted by Frank Brückner (frosch) on 2012-07-13T07:14:05.000+0000

Patch and unit test added.

Posted by Rob Allen (rob) on 2012-11-07T21:18:46.000+0000

This will break any CSS that currently selects on fieldset-name.

Posted by Frank Brückner (frosch) on 2012-11-08T17:12:38.000+0000

Add migration notes for 1.12 or we accept the current behaviour and close this ticket?!

Posted by Cristian Bichis (avantis) on 2012-12-18T20:30:26.000+0000

I would say to add it on 1.12 series.

Have you found an issue?

See the Overview section for more details.


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

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