You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sascha Rodekamp (JIRA)" <ji...@apache.org> on 2011/09/14 10:18:09 UTC
[jira] [Commented] (OFBIZ-4342) Ajax callings in CheckoutProcess.js
are not handling server-side errors correctly
[ https://issues.apache.org/jira/browse/OFBIZ-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104346#comment-13104346 ]
Sascha Rodekamp commented on OFBIZ-4342:
----------------------------------------
Hey Jonatan any news for this issue?
> 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