Problem/Motivation

Forllowing the upgrade intructions and running drush footnotes:upgrade-3-to-4 node, nodes in the original language get updated, but not the translated counterparts.

Steps to reproduce

  1. Use a multilingual setup with content translation enabled.
  2. Have a node and it's translation with footnotes made by the 3.x version on this module.
  3. Upgrade footnotes sources from 3 to 4.
  4. Run drush footnotes:upgrade-3-to-4 node
  5. Check the result on a existing node having a translation.

Proposed resolution

Tak care of translated content.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork footnotes-3423324

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

e5sego created an issue. See original summary.

scott_euser’s picture

Thanks for flagging, probably we need an update here https://git.drupalcode.org/project/footnotes/-/blob/4.0.x/src/Upgrade/Fo...
To check if the item is translatable & the fields is translated, then update the translated items as well if so.

scott_euser’s picture

Status: Active » Needs review

Hi @e5sego

This should work: I created 2 translatable node bundles, one where the field body is translatable and one where it isn't (only node itself translatable) and both seem to work fine with this merge request.

Can you confirm if it solves it for you please?

Thanks!
Scott

e5sego’s picture

Hi @scott_euser,

I can confirm translated content got updated too using this branch.

Thanks for make this work!

  • scott_euser committed 6196b99a on 4.0.x
    Issue #3423324 by scott_euser, e5sego: Translated content not updated...
scott_euser’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.