You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Arun Patidar (JIRA)" <ji...@apache.org> on 2017/07/08 23:23:00 UTC

[jira] [Closed] (OFBIZ-9404) Insufficient checking of checkOutPaymentId in CheckOutEvents.getSelectedPaymentMethods

     [ https://issues.apache.org/jira/browse/OFBIZ-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Patidar closed OFBIZ-9404.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Release

Committed revision 1801340.

Thanks Martin for your contribution.

> 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: Upcoming Release
>
>         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)