You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Later, when doctrine, sends the preFlush signal, the generateNodeEvents() is called. The loop over the changedNodesremoves the node entry from $data via unset.
Thus $data is empty and the log event is not inserted because of the !empty check.
Steps to Reproduce
Log into the backend
For a document, enable or disable Hide in the inspector
Click the Apply button
Expected behavior
In the neos_eventsourcing_eventstore_events should be an entry that the given node was modified.
It would be nice to also know what exactly changed.
Actual behavior
No DB entry is created
Affected Versions
Neos: 3.x, 4.x, 5.x, 7.x
Notes
I would like to provide a PR, but I'm not sure about the format of $data in this case and how I can determine what exactly changed to get an old, new entry in the DB for the relevant Node model attributes. How do I know, what changed and if this should actually be logged? Are there any node updates which shouldn't be logged?
The text was updated successfully, but these errors were encountered:
Description
Updating a node in the inspector, like
hide
, does not get logged in the EventLog.Cause of the issue
In
ContentRepositoryIntegrationService
the Node Update event is actually received, and only the node is added to thechangedNodes
list:Later, when doctrine, sends the preFlush signal, the
generateNodeEvents()
is called. The loop over thechangedNodes
removes thenode
entry from$data
viaunset
.Thus
$data
is empty and the log event is not inserted because of the !empty check.Steps to Reproduce
Hide
in the inspectorApply
buttonExpected behavior
In the
neos_eventsourcing_eventstore_events
should be an entry that the given node was modified.It would be nice to also know what exactly changed.
Actual behavior
No DB entry is created
Affected Versions
Neos: 3.x, 4.x, 5.x, 7.x
Notes
I would like to provide a PR, but I'm not sure about the format of
$data
in this case and how I can determine what exactly changed to get anold
,new
entry in the DB for the relevant Node model attributes. How do I know, what changed and if this should actually be logged? Are there any node updates which shouldn't be logged?The text was updated successfully, but these errors were encountered: