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-4627) Struts2 JSON Plugin: messages in fieldsErrors are serialized twice since jdk1.7_80
Date Fri, 13 May 2016 06:29:12 GMT

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

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

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

WW-4627 Adds unit test to confirm the issue


> Struts2 JSON Plugin: messages in fieldsErrors are serialized twice since jdk1.7_80
> ----------------------------------------------------------------------------------
>
>                 Key: WW-4627
>                 URL: https://issues.apache.org/jira/browse/WW-4627
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.3.16.1
>            Reporter: Uriel Sarrazin
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.29
>
>
> Using the Oracle JVM, since the  jdk1.7_80, messages in fieldsErrors are serialized twice
:
> {code:javascript}
> {fieldErrors: {donneesGenerales.nom: ["Required value", "Required value"]}}
>    fieldErrors: {donneesGenerales.nom: ["Required value", "Required value"]}
>       donneesGenerales.nom: ["Required value", "Required value"]
>          0: "Required value"
>          1: "Required value"
> {code}
> instead of :
> {code:javascript}
> {fieldErrors: {donneesGenerales.nom: ["Required value"]}}
>    fieldErrors: {donneesGenerales.nom: ["Required value"]}
>       donneesGenerales.nom: ["Required value"]
>          0: "Required value"
> {code}
> This behaviour is not reproduced using the Oracle jdk1.7_79 and above.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message