Closed tomekknapczyk closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.08%. Comparing base (
731c8a7
) to head (c69ecd6
). Report is 2 commits behind head on master.:exclamation: Current head c69ecd6 differs from pull request most recent head 3136b52. Consider uploading reports for the commit 3136b52 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@tomekknapczyk Hi, thanks for your PR. I will check it soon. Can you fix code style?
@tomekknapczyk can you resolve conflicts? And one thing: in this package instead of id
field I use entity
field. Please check ImportControllerTraitTest
.
Removed fallback to default locale when updating translations.
If we have an object without some translation (en -> exists, pl -> does not exist) and we try to update it with new values, then we run into a fallback issue. For empty pl translation, method
translate
will return default en translation and update it with new pl value which is incorrect.Once changed, during import the
translate
method will not return a fallback value and will only update the specified locale.