Hi,
I'm working with alfresco 4.1.4; I noticed some inconsistencies in the site activities dashlet.
The dashlet shows the activities back to 4 days even if the 28 days filter is set (I'm sure there were activities for the site).
There are a lot of differences if you retrieve the feeds by site (/alfresco/service/api/activities/feed/site/{siteId}) or by user (/alfresco/service/api/activities/feed/user?s={siteId?})
Trying to go deeper I ended here in the ActivityFeedDAOImpl
return (List<ActivityFeedEntity>)template.selectList("alfresco.activities.select.select_activity_feed_for_feeduser", params, rowBounds);
return (List<ActivityFeedEntity>)template.selectList("alfresco.activities.select.select_activity_feed_for_site", params, rowBounds);
I'm trying to understand if the problem is the query that retrieves the activities (i.e. some clause I think to remember in an older implementation sometimes the activities were filtered over preferences (favourite marked)) or if there have been a problem saving the activities for the users.
Can someone explain the logic or the implementation of the activities saved/retrieved?
Thanks
Flavio