Martin Becker created OFBIZ-9404:
------------------------------------
Summary: Insufficient checking of checkOutPaymentId in CheckOutEvents.getSelectedPaymentMethods
Key: OFBIZ-9404
URL:
https://issues.apache.org/jira/browse/OFBIZ-9404 Project: OFBiz
Issue Type: Bug
Components: order
Affects Versions: Trunk
Reporter: Martin Becker
The following patch fixes a bug where the paymentMethod in CheckOutEvents.getSelectedPaymentMethods might be filled with a phantom payment method.
It checks for an empty parameter, not only NULL, to avoid a phantom paymentMethod with ID "" in selectedPaymentMethods, that causes subsequent errors in payment handling (e.g. ShoppingCart.getValueObject).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)