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

Mitth'raw'nuruodo edited comment on WW-4737 at 2/1/17 12:43 AM:
----------------------------------------------------------------

I could, but I'm not sure how many files I'd need to post before it would make 
sense, and since we're unable to update to the latest (thus most secure) 
version of Struts, I'm not sure it's wise for us to be publicly sharing source 
code.

I'll aim to post redacted versions.

Can {{Parameter.Request.toStringArray}} simply be adjusted to handle arrays of 
nulls properly?


was (Author: thrawnca):
I could, but I'm not sure how many files I'd need to post before it would make 
sense, and since we're unable to update to the latest (thus most secure) 
version of Struts, I'm not sure it's wise for us to be publicly sharing source 
code.

I'll aim to post redacted versions.

Can {{Parameter.Request}} simply be adjusted to handle arrays of nulls properly?

> 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)

Reply via email to