[
https://issues.apache.org/jira/browse/OFBIZ-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468267 ]
David Shere commented on OFBIZ-583:
-----------------------------------
Thanks Ian.
How do I apply this patch? I get these results when I try:
root@raptor:/ofbiz# patch -p 0 < patches/CheckOutEvents.patch
can't find file to patch at input line 1
Perhaps you used the wrong -p or --strip option?
File to patch: patches/CheckOutEvents.patch
patching file patches/CheckOutEvents.patch
Hunk #6 FAILED at 754.
1 out of 6 hunks FAILED -- saving rejects to file patches/CheckOutEvents.patch.rej
root@raptor:/ofbiz#
> Offline payment selection now prevents completion of sales order
> ----------------------------------------------------------------
>
> Key: OFBIZ-583
> URL:
https://issues.apache.org/jira/browse/OFBIZ-583> Project: OFBiz (The Open for Business Project)
> Issue Type: Bug
> Components: order
> Reporter: Iain Fogg
> Assigned To: Si Chen
> Priority: Critical
> Attachments: CheckOutEvents.patch
>
>
> I upgraded to the latest SVN on the weekend and now I find that when I raise a Sales Order in the Order Manager, and select OFFLINE as the payment option, the sale cannot proceed because it complains about no payment method being selected.
> CheckOutEvent.java has undergone some significant changes regarding checkout processing, and I suspect the following snippet:
> methodType = request.getParameter("paymentMethodType");
> if ("offline".equals(methodType)) {
> Debug.log("Changing mode from->to: " + mode + "->payment", module);
> mode = "payment";
> }
> If I've selected offline payment, shouldn't the mode be set to "addparty", not "payment"?
> Not sure who contributed the most recent changes, but would appreciate a speedy resolution to this one as I can't do sales orders without it!!!
> Cheers, Iain
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.