We have a bulk import feature in a Grails 2.4.3 app I'm working on, the last stage of which is a table where every cell has an input. We're submitting this all via a <g:form> tag (previous attempts to serialize large forms using jquery then submit with ajax caused some users' browsers to freeze up).
I've noticed that when the table is large enough to have more than 10,002 params, some data is missing from the params. I noticed this due to failed validation in some of the saved domains (due to missing required fields), then determined this maximum number by printing
params.keySet().size() // always 10,002
Just as a sanity check I created a Groovy map with 20k entries, so this isn't a language-level constraint. The params include controller and action, so it looks like it comes to a nice round 10k for user-defined params. Is this a known limit? If so, is it configurable?
Thanks,
Sitati