Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The function WorkflowTransition::isEmpty() checks if anything has changed to decide if a transition must be logged.
For attached fields (to Transitions), this generates a problem if only an attached field has changed.
So, enhance this function.
Comment | File | Size | Author |
---|---|---|---|
#3 | workflow-isempty_for_attachedfields-2927663-3.patch | 959 bytes | robertom |
#2 | workflow_2927663_2_isEmpty_for_AttachedFields.patch | 914 bytes | johnv |
Comments
Comment #2
johnvThis is a first attempt. It seems too specific, and we need to solve #2899025: Attached field type 'file' not working on WorkflowTransition first.
Comment #3
robertom CreditAttribution: robertom at bmeme commentedattached a more general patch (I think)
Comment #5
johnvLets see how he core patch #2988650: EntityReferenceItem::isEmpty returns TRUE when field contains value develops.
Comment #7
johnv