Hi,
If you are on admin/content/auctions/bid and place a bid on an item manually via the admin pages when you go back to that page you get:
Error: Call to undefined method Drupal\user\Entity\User::getUsername() in Drupal\auctions_core\AuctionBidListBuilder->buildRow() (line 41 of /app/web/modules/contrib/auctions/modules/auctions_core/src/AuctionBidListBuilder.php)
This function is now deprecated in Drupal 9: https://api.drupal.org/api/drupal/core%21modules%21user%21src%21Entity%2...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3157150-call-to-undefined-method.patch | 633 bytes | c_archer |
Comments
Comment #2
c_archer commentedI have created a patch to resolve this.
Comment #3
skaughttitle typo.
Comment #4
skaughtyou are in the 'entity interface' level. this is not the public space to 'add auctions, or bids' but the logic centre... really more of the developer space for the toolkit. the normal user interfaces will be thru node interations that use an embed entity reference to the entity base.
Comment #5
skaughtare you using D8 or D9?
Comment #6
c_archer commentedHi,
I am on Drupal 9.0.1
Comment #8
skaughtIs BC with D8. thanks.
New tag (1.0.4) released.
Comment #10
c_archer commented