pt., 29 wrz 2023 o 23:42 Chris Scroll <chrisbusine...@gmail.com> napisał(a): > > I upgraded from struts 2.5.30 to 6.3.0.1 and updated to the new > jakarta-stream to fix an issue. > > My List: > private List<String> tags; > > If a form has over 256 array elements (Example: tag[0] to tag[300]) and it > is submitted/posted I only get the first 256 array elements in my struts > action (itag.size(); will be 256 instead of 299). > > Those first 256 elements of my array have the correct information, but > everything else is as if it never existed. There are also no errors thrown > or errors in the console. > > Is this a bug, or is there some sort of setting I can change?
It isn't a bug, there is a constant you can change, please read this section https://struts.apache.org/core-developers/type-conversion#auto-growth-collection-limit Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org