Non-existent service "entity.manager"

Created on 22 March 2022, over 2 years ago
Updated 9 August 2023, 11 months ago

Problem/Motivation

Steps to reproduce

Proposed resolution

Here is the patch. To fix issue: non-existent service "entity.manager". As entity manager service is split into different services. Reference: https://www.drupal.org/node/2549139

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India vshlbndr

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

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.

  • 🇮🇳India arpitk

    Hi I tried the patch #24 but it didnt apply cleanly.

    Thanks!

  • 🇮🇳India keshav.k

    I appreciate all your efforts.

    But the issue is regarding Non-existent service "entity.manager"
    So please fix the issue only related to that. Otherwise we will go nowhere.

    Thank you.

  • First commit to issue fork.
  • @roshni27 opened merge request.
  • Status changed to Needs review 11 months ago
  • 🇮🇳India roshni27

    I have reviewed patches #7 and #11, and they have been applied cleanly. In both patches, the variable $this->entity_typeInfo is being used, but in the defined variable, the name is protected as $entityTypeInfo.

    Even though entity_type.bundle.info is injected into the code, it is still being referenced as
    $bundle_info = $this->entity_typeInfo->get('entity_type.bundle.info');
    $bundles = $bundle_info->getBundleInfo($entity_type);.
    I believe it would be more appropriate to use it as follows:
    $bundles = $this->entityTypeBundleInfo->getBundleInfo($entity_type).
    I have created a merge request. Please take a moment to review it.

Production build 0.69.0 2024