In Drupal\commerce_order\OrderListBuilder on line 94, there's a use of a method called getOwner from the Order object. Problem is, this method does not exist. There is a method called getCustomer that does exist and appears to fit the context. Patch attached.

CommentFileSizeAuthor
order_customer.patch6.98 KBChrisGrewe
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ChrisGrewe created an issue. See original summary.

  • bojanz committed edc06c3 on 8.x-2.x authored by ChrisGrewe
    Issue #2818009 by ChrisGrewe: OrderListBuilder uses non-existent method...
bojanz’s picture

Status: Active » Fixed

D'oh, we had missing test coverage, being added in #2817267: Expand order tests.

The bug was introduced by #2815897: Orders should not implement EntityOwnerInterface. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.