27x: Calling EntityViewBuilder::__construct() with the $entity_repository argument is supported in drupal:8.7.0 and will be required before drupal:9.0.0. See https://www.drupal.org/node/2549139.
    5x in OrderReceiptTest::testOrderReceipt from Drupal\Tests\commerce_order\Kernel
 12x: The property entityManager (entity.manager service) is deprecated in Drupal\commerce_product\ProductViewBuilder and will be removed before Drupal 9.0.0.
    6x in ProductAttributesOverviewFormatterTest::testFormatterDisplay from Drupal\Tests\commerce_product\Kernel

We need to update the constructor and alterBuild().

Comments

bojanz created an issue. See original summary.

bojanz’s picture

Status: Active » Needs review
StatusFileSize
new5.13 KB

  • bojanz committed 6f66e7c on 8.x-2.x
    Issue #3087170 by bojanz: ProductViewBuilder triggers deprecation errors
    
bojanz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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