Uploaded image for project: '[Read Only] - Hippo Wicket ExtJS'
  1. [Read Only] - Hippo Wicket ExtJS
  2. WICKETEXTJS-60

Parsing parameters in ExtEventAjaxBehavior does not handle "null" value correctly

    XMLWordPrintable

Details

    Description

      The ExtEventAjaxBehavior#respond parses parameters to JSONObject incorrectly. It's not aware of "null" value case

      For example with the parameter "t9id=null", the result is

      {"t9id": ["null"]}
      

      rather

      {"t9id": [JSONObject.NULL]} 
      

      It means that the call JSONObject#isNull() will return "false" because "null" string value is different from JSONObject.NULL.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cngo Canh Ngo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: