[jira] [Closed] (TUSCANY-4020) Still some hard coded message strings in the code
[ https://issues.apache.org/jira/browse/TUSCANY-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Laws closed TUSCANY-4020. --- Resolution: Fixed I've moved any hard coded messages I could find to properties files at revision: 1295144 Still some hard coded message strings in the code - Key: TUSCANY-4020 URL: https://issues.apache.org/jira/browse/TUSCANY-4020 Project: Tuscany Issue Type: Bug Components: SCA Java Runtime Affects Versions: Java-SCA-2.0-Beta3 Environment: All Reporter: Simon Laws Assignee: Simon Laws Fix For: Java-SCA-2.0 Some code still contains hard coded message strings. For example, see BaseAssemblyProcessor ComponentTypeDocumentProcessor CompositeDocumentProcessor CompositeProcessor -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (TUSCANY-4021) JSON-RPC OVER SCA HTTP BINDING DOES NOT RETURN A JSON OBJECT AFTER AN EXCEPTION
JSON-RPC OVER SCA HTTP BINDING DOES NOT RETURN A JSON OBJECT AFTER AN EXCEPTION --- Key: TUSCANY-4021 URL: https://issues.apache.org/jira/browse/TUSCANY-4021 Project: Tuscany Issue Type: Bug Components: Java SCA HTTP Binding Reporter: Collin Tedlock JSON-RPC over SCA HTTP binding does not return a JSON object after an exception. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TUSCANY-4021) JSON-RPC OVER SCA HTTP BINDING DOES NOT RETURN A JSON OBJECT AFTER AN EXCEPTION
[ https://issues.apache.org/jira/browse/TUSCANY-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Collin Tedlock updated TUSCANY-4021: Description: JSON-RPC over SCA HTTP binding does not return a JSON object after an exception. The spec indicates a well formed JSON object should be returned in case of an error: http://json-rpc.org/wiki/specification But while creating a fault message in JSONRPCWireFormatInterceptor.createJSONFaultMessage the body is simply set to the throwable: private Message createJSONFaultMessage(Throwable throwable) { Message jsonFaultMessage = messageFactory.createMessage(); jsonFaultMessage.setBody(throwable); return jsonFaultMessage; } was:JSON-RPC over SCA HTTP binding does not return a JSON object after an exception. JSON-RPC OVER SCA HTTP BINDING DOES NOT RETURN A JSON OBJECT AFTER AN EXCEPTION --- Key: TUSCANY-4021 URL: https://issues.apache.org/jira/browse/TUSCANY-4021 Project: Tuscany Issue Type: Bug Components: Java SCA HTTP Binding Reporter: Collin Tedlock JSON-RPC over SCA HTTP binding does not return a JSON object after an exception. The spec indicates a well formed JSON object should be returned in case of an error: http://json-rpc.org/wiki/specification But while creating a fault message in JSONRPCWireFormatInterceptor.createJSONFaultMessage the body is simply set to the throwable: private Message createJSONFaultMessage(Throwable throwable) { Message jsonFaultMessage = messageFactory.createMessage(); jsonFaultMessage.setBody(throwable); return jsonFaultMessage; } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira