Retroactive update not working for translations

Created on 7 June 2020, over 4 years ago
Updated 4 December 2024, about 2 months ago

The retroactive update does not work for translated entities. The original entity is updated correctly, but not the translations for that entity.

Attached patch fixes this by fetching all languages for the site, and updates any existing translations for each entity.

πŸ› Bug report
Status

Needs work

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden enzipher

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

    Needs MR

  • First commit to issue fork.
  • πŸ‡ΈπŸ‡ͺSweden enzipher

    I had a quick look at this, and it seems the relevant function has been renamed to filefield_paths_batch_update() and deprecated in favor of \Drupal\filefield_paths\Batch\Updater::batchUpdate(). That said, I don't know if translations are now handled correctly with this change or not.

    Personally, I don't have any use for this patch at this time, so I will likely not investigate this any further.

Production build 0.71.5 2024