Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
tracker.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2006 at 23:16 UTC
Updated:
5 Jun 2011 at 06:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregglesLooking back through CVS it seems that a "module_exists('comment') was added in revision 1.86 to prevent a comment specific function from being called. Since we no longer call that comment functon we can remove that check for module exists. The original issue was http://drupal.org/node/9031
Attached is a patch which fixes this.
To test:
1. Create some content
2. Add some comments
3. Visit the tracker page and notice the number of comments on each post
4. Disable comment.module
5. Visit the tracker page and note the "0" for number of replies on all posts
Attached (extremely simple) patch removes the check for comment module.
Comment #2
Steven commentedWe still call comment_num_new() as far as I can see. The other/older issue with tracker.module and comment.module (and missing node_comment_statistics lines) has been fixed, so this patch needs to be revisited and commented more clearly.
Comment #3
gregglesThanks for the review. I've updated the patch with your suggestions.
If the comment is still lacking please let me know what you would like to see in it.
Comment #4
drummI think the Replies column should be removed if the comment module is disabled. Any number of replies would be inaccurate since you can't view any of them.
Comment #5
tstoecklerIn both Drupal 6 and Drupal 7 Tracker module depends on Comment module.