Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9404

Insufficient checking of checkOutPaymentId in CheckOutEvents.getSelectedPaymentMethods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.04
    • Component/s: order
    • Labels:
      None

      Description

      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).

        Activity

        Hide
        arunpati Arun Patidar added a comment -

        Committed revision 1801340.

        Thanks Martin for your contribution.

        Show
        arunpati Arun Patidar added a comment - Committed revision 1801340. Thanks Martin for your contribution.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Backported in R16.11 at r1801369

        Show
        jacques.le.roux Jacques Le Roux added a comment - Backported in R16.11 at r1801369

          People

          • Assignee:
            arunpati Arun Patidar
            Reporter:
            mbecker Martin Becker
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development