Problem/Motivation
history_node_view_alter()
tracks the viewing history for all nodes that are viewed in the full
view mode.
That means also previews of unsaved nodes are tracked.
Proposed resolution
Return early if $node->isNew()
or if isset($node->in_preview)
.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
None.