Spring:form bug creates invalid “id”

Spring 3.0.1 inadvertently broke the indexed properties which are set by the form tag when “path” is used.

eg.

 

Spring 3.0.1 generates

Instead it should generate:-

Notice the brackets [ ] in the id. This results in failure in binding the values to the form. A JIRA issue has been raised for this: https://jira.springframework.org/browse/SPR-6871?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs. The bug was fixed and released in Spring 3.0.4

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s