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


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.

Reply via email to