- Issue created by @solideogloria
- 🇮🇳India dineshkumarbollu
Hi @solideogloria
created patch please review,Thanks
The patch doesn't inject the logger service.
You should also learn how to use a Merge Request → . Drupal doesn't recommend using .patch files anymore.
- Assigned to solideogloria
- Status changed to Needs work
9 months ago 7:16pm 21 February 2024 - 🇨🇭Switzerland berdir Switzerland
You can't inject into an entity class.
This requires 10.1, so the .info.yml will need to be adjusted accordingly, will most likely only commit this closer to the D11 release.
- Merge request !71Resolve #3422690 "Watchdogexception is deprecated". Requires Drupal 10.1 → (Open) created by solideogloria
- last update
9 months ago 48 pass - Status changed to Needs review
9 months ago 8:12pm 21 February 2024 - last update
9 months ago 48 pass Ah, that's right. Well, I just added the changes as-is to an MR, and updated info.yml
- First commit to issue fork.
- last update
7 months ago 48 pass - 🇺🇸United States melnychukmy
To not forget about backward compatibility I pushed commit similar to automated change by project update bot in 📌 Automated Drupal 11 compatibility fixes for pathauto Fixed
Also used trait for logger service. - Status changed to Closed: duplicate
6 months ago 8:57pm 18 May 2024 - 🇨🇭Switzerland berdir Switzerland
Using the deprecation trait here is counterproductive because that also only works since Drupal 10.1, so it's not actually providing any BC. I've instead just checked for the new method in 📌 Automated Drupal 11 compatibility fixes for pathauto Fixed , merged those changes over there.