Fixed
Project:
Content Builder
Version:
1.0.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Nov 2026 at 20:44 UTC
Updated:
18 Nov 2026 at 20:11 UTC
Jump to comment: Most recent
Generated with the help of an LLM.
After a Content Builder field is deleted, cron fails while purging its values. The field is never purged, so uninstalling the module is refused with "Fields pending deletion".
This happens when the File module is installed. Purging the field releases the file usage of its inline images, which reads its sections. Core passes a deleted field's values back still serialized, and the section property rejects them.
drush cron.The cron error is in Reports › Recent log messages (trimmed):
InvalidArgumentException: Value assigned to "section" is not a valid section
#0 core/modules/layout_builder/src/Plugin/DataType/SectionData.php(38)
#1 core/lib/Drupal/Core/TypedData/TypedDataManager.php(220)
#2 core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php(125)
#3 modules/contrib/content_builder/src/Field/ContentBuilderItemList.php(92)
#4 modules/contrib/content_builder/src/Field/ContentBuilderItemList.php(432)
#5 modules/contrib/content_builder/src/Field/ContentBuilderItemList.php(450)
#6 modules/contrib/content_builder/src/Field/ContentBuilderItemList.php(393)
#7 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(576)
#8 core/lib/Drupal/Core/Field/FieldPurger.php(100)
…Unserialize sections that arrive serialized, allowing only the section classes.
None
None
None
None
Comments
Comment #3
gloriaswebtech commentedFixed in 1.0.2