Closed (duplicate)
Project:
Workflow
Version:
8.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2024 at 15:50 UTC
Updated:
12 Feb 2024 at 11:26 UTC
Jump to comment: Most recent
The workflow history table support revision id's since version
This works fine when using the Workflow Transitions forms on the Node View and Node History pages.
However, when using Node Eidt form, the revision id is empty.
- edit node,
- save a new state change
- check table, see that table vid is empty.
Root cause is that the transition is saved in the entity_presave hook.
At that moment, the new vid is not set yet, and the old vis is already cleared.
fix this.
none.
Comments
Comment #2
johnvThis is a duplicate of another 3-year old issue: #3167341: Revision id is NULL on node edit if revision enabled because transition is saved in hook_entity_presave