A missing field should not cause an exception when trying to save a translation

Created on 23 March 2018, almost 7 years ago
Updated 3 September 2024, 4 months ago

\Drupal\tmgmt_content\Plugin\tmgmt\Source\ContentEntitySource::doSaveTranslations() throws an exception when there is data for a field tha doesn't exist (anymore).

There are valid reasons how that could happen, for example because a field was deleted, or it could have been renamed, like the block_content.content_translation_status field during the 8.5.0 update.

๐Ÿ› Bug report
Status

Needs work

Version

1.0

Component

Source: Entity

Created by

๐Ÿ‡จ๐Ÿ‡ญSwitzerland berdir Switzerland

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

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024