Deprecated error at displaying Team

Created on 17 December 2024, 7 days ago

Problem/Motivation

There are multiple deprecated error showed up at the team member UI page after the recent apigee edge module update.

Here is one of them:

Deprecated: Optional parameter $module_handler declared before required parameter $org_controller is implicitly treated as a required parameter in /var/www/web/modules/contrib/apigee_edge/modules/apigee_edge_teams/src/Controller/TeamMembersList.php on line 102

Steps to reproduce

1. composer update drupal/apigee_edge to the most recent deployment which is 3.0.10.
Composer.json: "drupal/apigee_edge": "^3.0",
Codebase: https://git.drupalcode.org/project/apigee_edge/-/tree/3.0.10?ref_type=tags

Proposed resolution

I generated a patch file. This patch can be applied directly using Git patch. However, for some reason, I can't apply it using compose update command. So "composer update drupal/apigee_edge_teams -W" won't work.

1. Git patch version can be applied under project directory
2. composer update version can't be applied. I have tried using different file path, none of them worked.

I attached both files. Please help.

🐛 Bug report
Status

Active

Component

Code

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

Comments & Activities

Production build 0.71.5 2024