ZF-11490: Zend Json Server error response with result
The server is adding result key in response even when it is error. According to http://groups.google.com/group/json-rpc/… This member MUST NOT exist if there was an error invoking the method.
So using most json rpc 2.0 clients will throw an exception. I currently comment out Zend/Json/Server/Response.php line 176 to make it work with jsonrpc clients.
-- EDIT: actually its same with error at line 184. This member MUST NOT exist if there was no error triggered during invocation. - for error