Content columns aren't removed or added if missing.

Created on 28 July 2017, about 7 years ago
Updated 15 April 2023, over 1 year ago

When having a content type or a media bundle. When you click enable translation of the entity the columns ( content_translation_source, content_translation_outdated, content_translation_uid ) are being added. But when disabling the translation for that entity I would think they should be removed but they still remain.

Then a side note. I ran across this issue because I have a missing column after a config import. So it would be great if there could be a check if the translation is enabled en one of the columns is missing. The columns will be added again.

Columns for media are being added on table media_field_data and media_field_revision
Columns for node are being added on table node_field_data and node_field_revision

🐛 Bug report
Status

Closed: works as designed

Version

9.5

Component
Content translation 

Last updated 1 day ago

No maintainer
Created by

🇳🇱Netherlands ruudvanoijen

Live updates comments and jobs are added and updated live.
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.

  • 🇳🇿New Zealand quietone New Zealand

    I got this issue from the bugsmash bug bingo.

    I do think this is working as designed. Removing those database columns could interfere with translations for other content types. And there is always the possibility of loss of data.

    I am closing this as works as designed. If you disagree, re-open (by setting status to 'Active') and explain what I missed.

    Thanks

Production build 0.71.5 2024