struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uriel Sarrazin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4627) Struts2 JSON Plugin: messages in fieldsErrors are serialized twice since jdk1.7_80
Date Tue, 05 Apr 2016 12:31:25 GMT
Uriel Sarrazin created WW-4627:
----------------------------------

             Summary: 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


Using the Oracle JVM, since the  jdk1.7_80, messages in fieldsErrors are serialized twice
:

{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"

instead of :

{fieldErrors: {donneesGenerales.nom: ["Required value"]}}
   fieldErrors: {donneesGenerales.nom: ["Required value"]}
      donneesGenerales.nom: ["Required value"]
         0: "Required value"

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