Craig opened SPR-8749 and commented
#12200 made the change to automatically expose @PathVariables in the model. However, that change makes the means used to "unwrap" json, which rely on the Model having exactly 1 item in it, not work. For instance, the workout around posted here: http://pascaldimassimo.com/2010/04/13/how-to-return-a-single-json-list-out-of-mappingjacksonjsonview/ no longer works, nor does the configuration option http://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/web/servlet/view/json/MappingJacksonJsonView.html#setExtractValueFromSingleKeyModel%28boolean%29 do anything any more.
There needs to be a way to disable automatically exposing @PathVariables in the model.
Affects: 3.1 M2
Issue Links: