- Issue created by @igorbiki
- Status changed to Needs review
almost 2 years ago 7:08pm 3 February 2023
First noticed on bibcite references, and confirmed on simple custom content entity.
Enable content moderation module, and update workflow to include custom entity (allow bundles on it).
Create custom entity with draft state, save it. Then publish it. Once published, edit again and set draft as moderation state.
There will be PHP Warning: array_flip(): Can only flip STRING and INTEGER values!
Make sure latest revision id is not null before trying to load it. This means wrapping one line with if statement.
Needs review
1.0
Code