[
https://issues.apache.org/jira/browse/OFBIZ-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Becker updated OFBIZ-9404:
---------------------------------
Attachment: OFBIZ-9404_empty-check_checkOutPaymentId.patch
> 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
> Attachments: OFBIZ-9404_empty-check_checkOutPaymentId.patch
>
>
> 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)