Symfony\Cmf\Component\Routing\RouteObjectInterface::ROUTE_NAME is deprecated and removed in Drupal 10. Use Drupal\Core\Routing\RouteObjectInterface::ROUTE_NAME instead.
I applied this change.
Symfony\Cmf\Component\Routing\RouteObjectInterface::ROUTE_NAME is deprecated and removed in Drupal 10. Use Drupal\Core\Routing\RouteObjectInterface::ROUTE_NAME instead.
Applied this change in the following patch: https://www.drupal.org/files/issues/2023-03-08/domain_lang.1.x-dev-names... →
This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module → , even with this patch, this module is not yet compatible with Drupal 10.
Currently Drupal Rector, version 0.15.1, cannot fix all Drupal 10 compatibility problems.
Therefore this patch does not update the
info.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #12554This patch was created using these packages:
- mglaman/phpstan-drupal: 1.1.35
- palantirnet/drupal-rector: 0.15.1
- 🇺🇸United States JackG102 Falls Church, VA
For this module, is there testing required on this front or is it just a matter of creating the release? We are looking to update this module for our D10 push on a project. Thanks!
- 🇧🇷Brazil bruno_lima
Hi,
I've added a new patch that builds on #9 and also fixes the error:
You have requested a non-existent service "entity.manager" in 'src/Form/DomainLangNegotiationConfigureForm.php'.Patches applies cleanly for me.
Did something testing while working on a D10 upgrade (from x9.5.10) and the module is working as expected.Please review.
- 🇧🇷Brazil bruno_lima
Hi,
I've added a new patch that builds on #9 and also fixes the issue:
You have requested a non-existent service "entity.manager". In 'src/Form/DomainLangNegotiationConfigureForm.php'.Patch applies cleanly for me in the latest version. No errors being showed in 'Upgrade status'.
Tested the patch during D10 upgrade and module is working as expected (so far).Please review.
- 🇮🇳India nishtha.pradhan
- 🇭🇺Hungary dj1999
I got error in core 10.2.3 version.
Uncaught PHP Exception TypeError: "Drupal\language\Form\NegotiationConfigureForm::__construct(): Argument #2 ($typedConfigManager) must be of type Drupal\Core\Config\TypedConfigManagerInterface, Drupal\language\ConfigurableLanguageManager given, called in /var/www/html/www/modules/contrib/domain_lang/src/Form/DomainLangNegotiationConfigureForm.php on line 67" at /var/www/html/www/core/modules/language/src/Form/NegotiationConfigureForm.php line 85
In patch removed constructors which not updated to core constructors.
- First commit to issue fork.
- Merge request !3Patch 16 + Drupal 11 since Upgrade status is seeing no other problem → (Open) created by spuky