Closed (fixed)
Project:
Activity Log
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2011 at 22:13 UTC
Updated:
17 Dec 2011 at 10:40 UTC
Just like that, it does not log the event properly when this "Content is going to be viewed" action is selected.
Looking into the database I see that cached field is "", so no message showing, and also the created event date is the node creation date (maybe a problem with rules).
Any ideas?
Comments
Comment #1
icecreamyou commentedDo you still experience this problem with the dev build? (You may need to rebuild your new Rule from scratch after upgrading.)
Comment #2
orlando-rincon commentedStill not working with the dev build, I rebuilt the Rule and same thing, may be a problem with languages?, page is in english and spanish.
Comment #3
icecreamyou commentedHmm, actually, I think this was a design choice. Two reasons: (1) content views aren't stored persistently anywhere, which means they can't be regenerated; and (2) Activity Log tries to find the timestamp of the entity it's dealing with instead of using the current time so that actions can be triggered programmatically (for example while regenerating). But I suppose it's probably worth adding a specific exception for the "view content" action... I can't think of any other actions where this might be an issue.
Comment #4
icecreamyou commentedCommitted fix to dev. This at least fixes the timing issue. You will have to rebuild your rule in order to take advantage of this change.