[
https://issues.apache.org/struts/browse/WW-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso resolved WW-2500.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1
The comma will be there only when there are field errors
> JSONValidationInterceptor: IE chokes when evaling JSON string
> -------------------------------------------------------------
>
> Key: WW-2500
> URL: https://issues.apache.org/struts/browse/WW-2500
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 2.1.0
> Environment: Internet Explorer
> Reporter: Blake Pettersson
> Priority: Minor
> Fix For: 2.1.1
>
>
> This edge case happens when an action has actionErrors, and doesn't have any
> fieldErrors. The reason IE chokes in the first place is because there is a
> trailing comma when the json string is built. Since there is nothing after
> the comma in this case, IE throws an exception; "SyntaxError: Expected
> identifier, string or number".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.