Indexed properties not set correctly in form tags [SPR-6921] #11586
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: duplicate
A duplicate of another issue
Daniel IfCore opened SPR-6921 and commented
Since 3.0.1 the input form tag generates a different html code for indexed properties:
Example:
<form:input path="searchValues[author]" />
searchValues is a Map<String, String> object in the model.
In 3.0.0 the resulting html was:
<input id="searchValuesauthor" name="searchValues[author]" type="text" value=""/>
3.0.1 now generates:
<input id="searchValuesauthor" name="searchValuesauthor" type="text" value=""/>
This results in unset properties in the model property searchValues.
When I modify the parameter name in the request manually to the old form, the values are set correctly.
Affects: 3.0.1
Issue Links:
The text was updated successfully, but these errors were encountered: