[ https://issues.apache.org/jira/browse/OFBIZ-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092695#comment-13092695 ]
Sascha Rodekamp commented on OFBIZ-4342: ---------------------------------------- Hi Jonatan, that looks good to me, i will review your patch in detail. Thanks for your affort! > Ajax callings in CheckoutProcess.js are not handling server-side errors > correctly > --------------------------------------------------------------------------------- > > Key: OFBIZ-4342 > URL: https://issues.apache.org/jira/browse/OFBIZ-4342 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: SVN trunk > Reporter: Jonatan Soto > Assignee: Sascha Rodekamp > Labels: ajax, checkout > Attachments: patch.txt > > Original Estimate: 2h > Remaining Estimate: 2h > > All methods that do ajax calls in CheckoutProcess.js are not dealing with the > server-side errors. They should be treated in the success callback using an > existing method called getServerError(data). This method looks for the > _ERROR_MESSAGE* keys of the JSON object returned by the server. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira