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

        Attachments

          Activity

            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: