[
https://issues.apache.org/jira/browse/OFBIZ-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094399#comment-13094399
]
Jonatan Soto commented on OFBIZ-4342:
-------------------------------------
Hi Sascha,
Many thanks for test it.
The truth is that I tested only in my custom ecommerce application where I have
altered considerably the original behaviour and it works fine. But I keep the
OOTB ecommerce app intact and I often apply vendor drops just to have the
lastest changes. When I applied the changes to the original ecommerce app, I
also looked if there was any change in the Ofbiz SVN and then I inserted all
the new code only for the Ajax calls just to handle server error messages. I
will investigate further with a clean ofbiz installation and provide a new
patch properly tested and formatted.
Best regards
> 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