Closed (fixed)
Project:
Pathauto
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2022 at 10:23 UTC
Updated:
19 Aug 2022 at 09:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sillot commentedComment #3
cilefen commentedYou cannot tighten APIs in minor releases. What calling code is causing this?
Comment #4
sillot commentedHi,
Sorry this is my first issue 😬
Here is the stack trace causing this error:
Comment #5
cilefen commentedIt looks like modules/custom/module_custom/src/Service/CustomService.php is the cause.
Comment #6
sillot commentedOh, by checking the code more is saw that we are using the aliasCleaner service by pathauto.
It is this service that calls the transliteration service without checking if the langcode is not null.
I'm changing the Project to pathauto and make the patch available.
Thanks for your help cilefen.
Comment #7
sillot commentedComment #8
sillot commentedComment #10
anoopsingh92Comment #11
anoopsingh92Hi @Quentin Harelle, I reviewed your patch. It is applying successfully for me.

Comment #12
berdirAre you sure that this is still a problem in the most recent pathauto release that just came out?
Comment #13
sillot commented@anoopsingh92 Thank you for testing the patch !
@Berdir Indeed, it looks like that with the latest version this is fixed 🙂
I'm closing the issue thanks all !
Comment #14
sillot commented