I was experiencing the Page Not Found error regarding the tracker views and their feeds (group/tracker, group/tracker/feed, group/myunread, etc). It occurred to me to try Importing the og_mytracker view using the $view array from the og_views_default_views() function in og_views.inc. This gave me the following error:

You don't seem to have the following requirements: node_comment_statistics

This appears to be because the og_mytracker view includes a comment count from the node_comment_statistics table provided by the Comment module, which we had disabled. Sure enough, after enabling the Comment module the missing views magically reappeared.

We're currently on version 3.1 but I have had a brief skim through the code and this table still appears to be used in the og_views.inc. This dependency needs to be either noted in the og.info or accounted for in the Notifications block (don't display the feed links if the Comment module is not installed).

Comments

moshe weitzman’s picture

Nice detective work. Thanks.

The intent is that og doe snot depend on comment. I'll talk to Earl about a 'ignore_import_reqioreemnt' flag on default Views. Thats what is really needed here. We can't remove that field from the View for everyone, and adding a dependancy is lame. I'm OK with that in the short term though.

moshe weitzman’s picture

Status: Active » Fixed

hopefully fixed by removing that table from $view->requires. untested.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.