- Issue created by @jvollebregt-swis
- π³π±Netherlands casey
The bug seems to be introduced since:
https://github.com/twigphp/Twig/commit/42c82e1e9b88af365b15ed35cb5488f16...
- π΅π±Poland volman
Twig 3.21.0 not only broke extracting from
|t
filter. Potx now incorrectly extracts variable names containing a dot ({{ node.type }}
becomes@node
instead of@node.type
).This patch expands on #2. It fixes both issues and should work with earlier twig versions as well.
- ππΊHungary GΓ‘bor Hojtsy Hungary
Can you put this into an MR? That way tests would run on it too :)
I've put my original patch into an MR. @volman do you have push access to my branch? If not do you want me to add your patch to the branch?
- Status changed to Needs review
about 2 months ago 12:34pm 18 August 2025 - π«π·France johnatas
Hello,
I confirm that @volmanβs patch #4 works.
Tested on Drupal 11.2.2 and 11.2.3 with potx 1.1.0.@volman, as mentioned in the previous comment, could you please push the patch to the branch?
Thank you.
- π«π·France johnatas
Thanks @volman.
Everything looks fine to me.
@jvollebregt-swis, does it look good to you as well?
- π³π±Netherlands ricovandevin
We can confirm the issue and that this issue is fixed when applying the provided patch.