Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295245

Do not track viewing history for unsaved entities, nor when previewing existing entities

$
0
0

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.


Viewing all articles
Browse latest Browse all 295245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>