struts-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/WW-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-4627:
------------------------------
    Description: 
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.

  was:
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.


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