When running tests the following deprecation message comes up:
Calling Drupal\views\Plugin\views\field\EntityField::__construct() without the $entity_type_bundle_info argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3380621

Issue fork commerce-3427312

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

czigor created an issue. See original summary.

abhishek_gupta1’s picture

Assigned: Unassigned » abhishek_gupta1

czigor’s picture

Status: Active » Needs review
abhishek_gupta1’s picture

Assigned: abhishek_gupta1 » Unassigned
czigor’s picture

The deprecation happens only from Drupal 10.3 so the MR fails.

jsacksick’s picture

Status: Needs review » Needs work

Well the change isn't correct then... What we can do here is just remove the constructor and implement the create() method, calling the parent and then setting the entity type bundle info.

khiminrm made their first commit to this issue’s fork.

khiminrm’s picture

Status: Needs work » Needs review
jsacksick’s picture

Status: Needs review » Needs work
khiminrm’s picture

sorry, forgotten to remove the statements. updated the MR.

khiminrm’s picture

Status: Needs work » Needs review

  • jsacksick committed 06ec9c86 on 8.x-2.x authored by czigor
    Issue #3427312 by czigor, khiminrm, jsacksick:  Calling Drupal\views\...
jsacksick’s picture

Status: Needs review » Fixed

  • jsacksick committed a05c8bd5 on 3.0.x authored by czigor
    Issue #3427312 by czigor, khiminrm, jsacksick:  Calling Drupal\views\...

Status: Fixed » Closed (fixed)

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