Problem/Motivation

When I tried to access the route /admin/reports/content-model/entity-diagram using Drupal 10 I have this error TypeError: Drupal\content_model_documentation\Controller\EntityDiagramController::__construct(): Argument #5 ($request) must be of type Drupal\Core\Http\RequestStack, Symfony\Component\HttpFoundation\RequestStack given, called in /app/modules/contrib/content_model_documentation/src/Controller/EntityDiagramController.php on line 116 in Drupal\content_model_documentation\Controller\EntityDiagramController->__construct() (line 98 of modules/contrib/content_model_documentation/src/Controller/EntityDiagramController.php).

Steps to reproduce

Enable the module
I'm using drupal 10
go to /admin/reports/content-model/entity-diagram route

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

elber created an issue. See original summary.

elber’s picture

Assigned: elber » Unassigned
Status: Active » Needs review

Hi Please revise.

swirt’s picture

Thank you for your contribution elber. I am out of the office today but will check this out tomorrow.

elber’s picture

Hi to review this issue you can follow the steps in that issue https://www.drupal.org/project/config_views/issues/3286692 to do config_views compatible with drupal 10

swirt’s picture

Status: Needs review » Reviewed & tested by the community

Tested and approved. @elber Thank you so much for your contribution to this.

  • swirt committed d08678c9 on 1.0.x authored by elber
    Issue #3346692 by elber, swirt: Error in /admin/reports/content-model/...
swirt’s picture

Status: Reviewed & tested by the community » Fixed

This will go out with release 1.0.2

swirt’s picture

Status: Fixed » Closed (fixed)