Skip to content

Fix: Translatable setSkipOnLoad param name on service configuration#521

Merged
stof merged 1 commit intostof:mainfrom
BeBlood:main
Dec 18, 2025
Merged

Fix: Translatable setSkipOnLoad param name on service configuration#521
stof merged 1 commit intostof:mainfrom
BeBlood:main

Conversation

@BeBlood
Copy link
Copy Markdown
Contributor

@BeBlood BeBlood commented Dec 18, 2025

Hello!

I just found out after updating to 1.5 that the parameter stof_doctrine_extensions.skip_translation_on_load is no longer used by TranslatableListener. Instead, the parameter stof_doctrine_extensions.persist_default_translation is used for the setSkipOnLoad method, which seems to me like a mistake introduced in Migrate service config from XML to PHP.

I’ll stick with 1.14 for now, but I’ll gladly upgrade to 1.15 if a quick release is made.

Thank you.

@stof
Copy link
Copy Markdown
Owner

stof commented Dec 18, 2025

Good catch.

Note that the contributor doing this migration did it by hand. Nowadays, we have tooling built by the Symfony core team that would have avoided such mistakes.

@stof stof merged commit 4f7b4b4 into stof:main Dec 18, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants