Undefined method getEntityFieldManager() on CommerceBundleEntityViewsData

Created on 29 September 2021, about 3 years ago
Updated 28 January 2023, almost 2 years ago

Problem/Motivation

After update Drupal Commerce Core to version 8.x-2.25, the CommerceBundleEntityViewsData class changed one method and because of that the CommerceBundleEntityViewsData that extends it is showing this error:

Error: Call to undefined method Drupal\commerce_product_bundles\CommerceBundleEntityViewsData::getEntityFieldManager() in Drupal\commerce_product_bundles\CommerceBundleEntityViewsData->getViewsData() (line 30 of modules/contrib/commerce_product_bundles/src/CommerceBundleEntityViewsData.php).

Steps to reproduce

  1. Updated or Install Commerce Core to 8.x-2.25 or major
  2. Update or Install Commerce Products Bundles
  3. Clear the caches

Proposed resolution

Update only one method call on CommerceBundleEntityViewsData to follow the same approach from CommerceBundleEntityViewsData

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil igorbarato

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    As a reminder the "Assigned" field is for indicating you're actively working on it, once you've completed the work please set that field back to "Unassigned". Thank you.

Production build 0.71.5 2024