Closed (fixed)
Project:
Activity
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 May 2009 at 22:03 UTC
Updated:
19 May 2009 at 22:50 UTC
the "Activity log purge" feature in admin/settings/activity/settings is currently not working for me, set a '1 hour' purge time and activity-all views still shows them. What I did noticed from source is that activity_cron() is not being called to purge activity data.
Comments
Comment #1
Scott Reynolds commentedis cron.php running? activity_cron() is invoked when cron.php is hit
http://drupal.org/cron
Comment #2
likewhoa commentedYes that's the first thing I did was run cron but that didn't help.
Comment #3
Scott Reynolds commentedAhh, pretty subtle bug actually. If the activity doesn't have any access records it won't ever be deleted. Access records happen to be the only property of the activity that doesn't have to be there. Which is why it didn't come through in testing, I always have access records.
Committed the fix here
http://drupal.org/cvs?commit=207370
Comment #4
Scott Reynolds commentedComment #5
likewhoa commentedthanks, more bugs on the way.