Closed (fixed)
Project:
Kordiam
Version:
1.0.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jan 2026 at 11:46 UTC
Updated:
29 Jan 2026 at 15:03 UTC
Jump to comment: Most recent
When using the EntityUpdateByKordiamEvent events, I noticed the class does not allow to use a modified version of the $entity.
In my use case I want to ignore the $entity object changes done by the ActionController->updateNode() and only apply changes to the $kordiam_revision to be saved to the dn_xxxxx node field . The part that needs changes -> https://git.drupalcode.org/project/kordiam/-/blob/1.0.9/src/Controller/A...
See the suggested patch, which adds a setNode method to the EntityUpdateByKordiamEvent class and loads the $entity from the event.
| Comment | File | Size | Author |
|---|---|---|---|
| entity_update_by_kordiam.patch | 1.67 KB | onnia |
Comments
Comment #2
kordiam commentedThank you for the module improvement.
The patch has been applied and included in version 1.0.10.
Comment #4
kordiam commented