Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
statistics.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Apr 2015 at 06:56 UTC
Updated:
24 Oct 2015 at 18:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berenddeboer commentedComment #3
berenddeboer commentedComment #5
osmanI confirm the issue.
Enabling Statistics.module overrides existing
$node->content['#attached']['js']array content.Thanks berenddeboer for reporting it.
Comment #6
osmanComment #7
osmanSeems like this issue is Drupal 7.x only. 8.x is not affected.
Attached patch is formatted better to comply with coding standards.
Comment #8
timmillwoodComment #9
David_Rothstein commentedCommitted to 7.x - thanks!
Sigh, I remember that I discovered this exact same issue when reviewing the original patch (#1209532-181: Count node views via AJAX in the statistics module), but I missed that it was not addressed before I committed the final version...