struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4737) Array-of-null parameters are converted to arrays containing "null"
Date Mon, 13 Feb 2017 09:49:43 GMT

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

ASF subversion and git services commented on WW-4737:
-----------------------------------------------------

Commit 4b96958be90b45e959ef600b89af33833d51eb27 in struts's branch refs/heads/master from
[~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=4b96958 ]

WW-4737 Fixes issue with array of nulls


> Array-of-null parameters are converted to arrays containing "null"
> ------------------------------------------------------------------
>
>                 Key: WW-4737
>                 URL: https://issues.apache.org/jira/browse/WW-4737
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.5, 2.5.8
>            Reporter: Mitth'raw'nuruodo
>             Fix For: 2.5.next
>
>
> The {{org.apache.struts2.dispatcher.Parameter.Request}} class (added in Struts 2.5.3)
incorrectly handles arrays containing null; it converts them to arrays containing the string
"null" (using {{String.valueOf}}).
> This is breaking one of our applications; some pages are OK, but on other pages, every
non-provided field is populated with "null".



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message