Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated errors with recent Apigee Edge update #1103

Open
hollyw2025 opened this issue Dec 18, 2024 · 0 comments
Open

Deprecated errors with recent Apigee Edge update #1103

hollyw2025 opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hollyw2025
Copy link

Description

Hello, We ran into a couple of deprecated errors with recent Apigee Edge update.
I open a case at the drupal site:
https://www.drupal.org/project/apigee_dev_portal/issues/3494359

Apigee Info

We connected to Apigee Edge at the back end.

composer -V: 2.8.4, which is the most recent version

Drupal modules:
Drupal core 10.4.0
drupal/apigee_edge: 3.0.10

Steps to Reproduce

error message showed up at the team list page

Expected Behavior

I created a local patch which could be applied using Git patch, but can't use Composer update to apply. I attached the patch.
Could you please fix the related deprecated code from your end per the error message?

Here are the error list:

Deprecated: Optional parameter $config_factory declared before required parameter $app_warnings_checker is implicitly treated as a required parameter in /var/www/web/modules/contrib/apigee_edge/src/Entity/ListBuilder/AppListBuilder.php on line 97

Deprecated: Optional parameter $entity_type_bundle_info declared before required parameter $org_controller is implicitly treated as a required parameter in /code/web/modules/contrib/apigee_edge/modules/apigee_edge_teams/src/Entity/Storage/TeamMemberRoleStorage.php on line 97

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

Screenshots

will add
deprecatedparams_gitpatchversion.patch
fix-php8-deprecated-params.patch
deprecatedparams_composerupdateversion.patch
Screenshot 2024-12-16 at 3 54 17 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants