Discount adjustment crashes when product line is zero

Created on 7 October 2019, over 5 years ago
Updated 15 May 2024, 11 months ago

Error: Call to a member function getCurrencyCode() on int in Drupal\commerce_migrate_commerce\Plugin\migrate\process\commerce1\OrderItemDiscountAdjustment->getAdjustment()

πŸ› Bug report
Status

Needs work

Version

4.0

Component

Drupal Commerce 1.x

Created by

πŸ‡§πŸ‡ͺBelgium yoerioptr

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024