[PP-2] Consider translations field usage when uninstalling the module providing a field

Created on 1 May 2025, about 1 month ago

Overview

In 📌 Calculate field and component dependencies on save and store them in an easy to retrieve format Active we changed FieldTypeUninstallValidator for calculating when a content entity XB field was using a field that is going to be uninstalled.

But this will consider the active language.
If there are config translations modifying the tree, or if there are content translations using the field when using asymmetric content translation, those will not be considered.

Proposed resolution

  • Verify that FieldTypeUninstallValidator will consider content and config translations, and not only the active language
  • Add automatic tests for those use cases

Postponed on 📌 Calculate field and component dependencies on save and store them in an easy to retrieve format Active itself, and 📌 [PP-1] Evaluate storing XB field type's "deps_*" columns in separate table Active .

User interface changes

None.

📌 Task
Status

Postponed

Version

0.0

Component

Data model

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024