Closed (won't fix)
Project:
Drupal core
Version:
5.x-dev
Component:
tracker.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2007 at 17:25 UTC
Updated:
20 Jun 2011 at 01:33 UTC
On a freshly installed site that has nodes but not comments, tracker doesn't show any recent posts for users. The INNER JOIN with node_comment_statistics should be a LEFT JOIN, I believe.
| Comment | File | Size | Author |
|---|---|---|---|
| tracker_join.patch | 1.55 KB | hickory |
Comments
Comment #1
geodaniel commentedI think this is also relevant to Drupal 4.7. We have recently upgraded a site from 4.6 to 4.7, without comment module enabled, which presumably meant that the node_comment_statistics table was never built up properly, and so the INNER JOINs do not work.
Comment #2
killes@www.drop.org commentedWe should rather add something to the install hook of comment.module which creates a proper node_comment_statistics table than to make an already slow query even slower by moving to a left join.
Comment #3
killes@www.drop.org commentedmoving to "needs work".
Comment #4
hickory commentedWhat if you never enable comments.module? Tracker should still work.
Comment #5
killes@www.drop.org commentedMaybe do
if (module_exists('comment)) {
query with node_comment_stats
}
else {
query without node_comment_stats.
}
Comment #6
dpearcefl commentedConsidering the age of this issue with no comments and that Drupal 5 is no longer supported, I'm closing this ticket.