Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
5.0.14
-
None
-
None
Description
When trying to create an AJAX handler to process a form submit, instead of returning my JSONObject simply as "
{"somekey":"somevalue"}", it returns "
{"somekey":"somevalue"}{} ", which is clearly an invalid JSON object. The {} seems to be added at org.apache.tapestry5.internal.services.AjaxComponentEventRequestHandler:108.
See attached file for an example project showing this behavior.