struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 09:06:13 GMT

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

Hudson commented on WW-4627:
----------------------------

FAILURE: Integrated in Struts-JDK6-support-2.3 #1028 (See [https://builds.apache.org/job/Struts-JDK6-support-2.3/1028/])
WW-4627 Adds unit test to confirm the issue (lukaszlenart: rev 9f2cae2f1e54d43d71d49963c82bff7a4be31511)
* plugins/json/src/test/java/org/apache/struts2/json/JSONWriterTest.java
* plugins/json/src/test/resources/org/apache/struts2/json/jsonwriter-write-bean-04.txt


> 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