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

CommentFileSizeAuthor
#2 3157150-call-to-undefined-method.patch633 bytesc_archer

Comments

c_archer created an issue. See original summary.

c_archer’s picture

StatusFileSize
new633 bytes

I have created a patch to resolve this.

skaught’s picture

Title: On admin/content/auctions/bid once you have manually added a big the page errors » On admin/content/auctions/bid once you have manually added a bid the page errors

title typo.

skaught’s picture

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

skaught’s picture

are you using D8 or D9?

c_archer’s picture

Hi,

I am on Drupal 9.0.1

  • SKAUGHT committed 5fad53d on 1.0.x
    Issue #3157150 by c_archer: On admin/content/auctions/bid once you have...
skaught’s picture

Status: Active » Fixed

Is BC with D8. thanks.
New tag (1.0.4) released.

Status: Fixed » Closed (fixed)

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

c_archer’s picture