details: https://code.openbravo.com/erp/devel/pi/rev/6166413117d8 changeset: 34846:6166413117d8 user: Carlos Aristu <carlos.aristu <at> openbravo.com> date: Wed Oct 17 13:01:48 2018 +0200 summary: fixes issue 39459: retry execution additional message is not built properly
The JSONObject built with the message contents for the retryExecution response action does not define the message type properly. The type of message must be specified with the "severity" property according to the retryExecution implementation[1]. [1] https://code.openbravo.com/erp/devel/pi/file/tip/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js#l254 diffstat: modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (21 lines): diff -r ab186b7fabcd -r 6166413117d8 modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java --- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java Mon Oct 15 22:39:09 2018 -0400 +++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java Wed Oct 17 13:01:48 2018 +0200 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2017 Openbravo SLU + * All portions are Copyright (C) 2017-2018 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -266,7 +266,7 @@ try { retryExecution = true; retryExecutionMsg = new JSONObject(); - retryExecutionMsg.put("msgType", msgType.getType()); + retryExecutionMsg.put("severity", msgType.getType()); retryExecutionMsg.put("text", msgText); } catch (JSONException ignore) { } _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits