Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3.1
-
Fix Version/s: 2.3-M2
-
Component/s: None
-
Labels:None
-
Testcase included:yes
Description
If you use underscores in your form params for non-checkboxes - which is/was perfectly legal - doing so with 1.3.1 yields unexpected results as the automaps have been adapted to support nested checkboxes (GRAILS-6224) which now breaks non-checkbox usage.
I'm not sure there is a solution, but it needs flagging that this can break old apps.
See attached app.
-
Hide
- UnderscoreBindingBreakingChange.zip
- 21/May/10 10:31 AM
- 259 kB
- Marc Palmer
-
- UnderscoreBindingBreakingChange/.classpath 0.7 kB
- UnderscoreBindingBreakingChange/.project 0.5 kB
- UnderscoreBindingBreakingChange/.../org.codehaus.groovy.eclipse.preferences.prefs 0.1 kB
- UnderscoreBindingBreakingChange/application.properties 0.2 kB
- UnderscoreBindingBreakingChange/.../BootStrap.groovy 0.1 kB
- UnderscoreBindingBreakingChange/.../BuildConfig.groovy 1 kB
- UnderscoreBindingBreakingChange/.../Config.groovy 3 kB
- UnderscoreBindingBreakingChange/.../DataSource.groovy 0.6 kB
- UnderscoreBindingBreakingChange/.../resources.groovy 0.0 kB
- UnderscoreBindingBreakingChange/.../UrlMappings.groovy 0.2 kB
- UnderscoreBindingBreakingChange/.../GoodbyeDioController.groovy 0.1 kB
- __MACOSX/.../._GoodbyeDioController.groovy 0.2 kB
- UnderscoreBindingBreakingChange/.../messages.properties 3 kB
- UnderscoreBindingBreakingChange/.../messages_da.properties 3 kB
- UnderscoreBindingBreakingChange/.../messages_de.properties 4 kB
- UnderscoreBindingBreakingChange/.../messages_es.properties 3 kB
- UnderscoreBindingBreakingChange/.../messages_fr.properties 2 kB
- UnderscoreBindingBreakingChange/.../messages_it.properties 2 kB
- UnderscoreBindingBreakingChange/.../messages_ja.properties 2 kB
- UnderscoreBindingBreakingChange/.../messages_nl.properties 3 kB
- UnderscoreBindingBreakingChange/.../messages_pt_BR.properties 3 kB
- UnderscoreBindingBreakingChange/.../messages_pt_PT.properties 3 kB
- UnderscoreBindingBreakingChange/.../messages_ru.properties 4 kB
- UnderscoreBindingBreakingChange/.../messages_th.properties 5 kB
- UnderscoreBindingBreakingChange/.../messages_zh_CN.properties 2 kB
- UnderscoreBindingBreakingChange/.../error.gsp 2 kB
- UnderscoreBindingBreakingChange/.../index.gsp 0.3 kB
- __MACOSX/.../._index.gsp 0.2 kB
- UnderscoreBindingBreakingChange/.../index.gsp 2 kB
- __MACOSX/.../._index.gsp 0.2 kB
Issue Links
- is related to
-
GRAILS-3299
checkBox does not work for nested boolean properties
-
-
GRAILS-6224
Support checkbox fields on nested command objects with Spring data binding
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
A pull request with a failing functional test would be helpful (even if the pull request doesn't include a fix). https://github.com/grails/grails-functional-tests/tree/master/apps/kitchen_sink_app/test/functional/parambinding might be a good place for the test.
This issue has been rolled over so many times it has become sausage-shaped.