Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
tracker.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Jan 2015 at 09:05 UTC
Updated:
31 Dec 2025 at 10:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Poornima3 commentedThis is particularly happening for just content type:- Basic Page (For Article it is showing the correct last updated )
Comment #2
manjit.singhComment #3
a_thakur commentedComment #4
a_thakur commentedPlease find the attached patch. Also find the screenshots for before and after patch.
Comment #6
dawehnerAfaik it is always time to fix bugs.
Comment #7
a_thakur commentedNot sure why test fails, is it because tracker module isn't enabled on the instance where CI is running?
Comment #9
Poornima3 commented#4
The patch works absolutely fine
Comment #10
mohrerao commentedComment #12
ashutoshsngh commentedApplied and checked worked fine.
Comment #13
alexpottWe should have a test for this.
Comment #14
RavindraSingh commentedYes, its working fine.
Comment #15
RavindraSingh commentedwhat other people say?
Comment #16
jhedstromI started writing a test for this, and quickly realized that the issue only makes itself apparent when comments are disabled on a particular type. Furthermore, the
changedtime from the tracker data table can include comment updates, not just node time.I've written a test that illustrates the failure, and also tweaked the fix from above to take into account comment time (but still include changed time from nodes without comments).
Comment #24
idebr commentedComment #25
jhedstromRe-roll of #16.
Comment #27
jhedstromThe test-only patch was expected to fail.
Comment #28
Anonymous (not verified) commentedLooking over the patch, it seems ok to me. But I do have some minor remarks:
Nitpicking, but it's not needed here :)
This is missing a closing bracket, but I would prefer to rephrase the comment altogether.
E.g.
Set the last activity time from tracker data. This also takes into account comment activity, so getChangedTime() is not used.
Comment #29
nlisgo commentedThis patch addresses feedback in #28.
Comment #30
Anonymous (not verified) commentedLooks good to me.
Added beta eval to the summary.
Comment #31
webchickGreat catch.
Committed and pushed to 8.0.x. Thanks!
Comment #34
mohrerao commentedComment #35
quietone commentedTag cleanup.