You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Updated) (JIRA)" <ji...@apache.org> on 2011/12/09 10:25:40 UTC
[jira] [Updated] (WW-3433) JSONValidationInterceptor should
generate valid JSON responses
[ https://issues.apache.org/jira/browse/WW-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3433:
------------------------------
Fix Version/s: 2.3.x
Is it related to WW-3545 ?
> JSONValidationInterceptor should generate valid JSON responses
> --------------------------------------------------------------
>
> Key: WW-3433
> URL: https://issues.apache.org/jira/browse/WW-3433
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - JSON
> Affects Versions: 2.1.8.1
> Environment: struts-json-plugin 2.1.8.1
> Reporter: Nicolas Bohorquez Gutierrez
> Labels: json, s2, struts
> Fix For: 2.3.x
>
>
> The method protected String buildResponse(ValidationAware validationAware) in org.apache.struts2.interceptor.validation.JSONValidationInterceptor should generate valid JSON responses, right now it generates json-commenting responses but this could be worst http://trac.dojotoolkit.org/ticket/6380
> In other side it breaks compatibillity with other frameworks like JQuery 1.4 (version 1.3 allow to parse non strict JSON) http://www.neeraj.name/2010/01/15/handling-json-parsing-natively-in-jquery-1-4-and-what-changed-from-jquery-1-3.html.
> thank you
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira