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 (Closed) (JIRA)" <ji...@apache.org> on 2011/10/05 19:31:35 UTC

[jira] [Closed] (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:all-tabpanel ]

Sascha Rodekamp closed OFBIZ-4342.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks Jonatan

your patch is in Trunk @Rev1179340

I merged your patch manually.
                
> 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
>             Fix For: SVN trunk
>
>         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.
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