[
https://issues.apache.org/jira/browse/OFBIZ-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Le Roux closed OFBIZ-9404.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: Upcoming Release)
16.11.04
Backported in R16.11 at r1801369
> 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
> Assignee: Arun Patidar
> Fix For: 16.11.04
>
> 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.4.14#64029)