You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2018/01/15 15:55:00 UTC

[jira] [Commented] (WW-4909) List of Boolean is not populated in Action class

    [ https://issues.apache.org/jira/browse/WW-4909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326362#comment-16326362 ] 

Lukasz Lenart commented on WW-4909:
-----------------------------------

There is a new constant that limits collection auto-growth but it isn't documented. I will renamed it and add an additional docs. Please define a new constant as below for now:

{code:xml}
<constant name="xwork.autoGrowCollectionLimit" value="1024"/>
{code}

> List of Boolean is not populated in Action class
> ------------------------------------------------
>
>                 Key: WW-4909
>                 URL: https://issues.apache.org/jira/browse/WW-4909
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.5.10.1
>            Reporter: Bouagal
>            Priority: Major
>             Fix For: 2.5.15
>
>
> In my application, a user sends a request with this parameter : selectedLines[xx]=true where xx is a number. Stuts 2 should convert this parameter into this property : List<Boolean> selectedLines in my action class. The lenght of the list equals xx+1 and the list looks like this [null,null,.....,true];
> Since I have upgraded Struts 2 to 2.5.10.1 From 2.3, that not works anymore if xx>256. The list is empty.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)