Actions
Bug #14595
closed[API] logs.event_at has wrong timestamp
Start date:
12/13/2018
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Story points:
-
Release:
Release relationship:
Auto
Description
Some updates generate rows in the logs table with event_at set to the time of a previous update, not the one being logged:
logs.event_at
is populated fromobject_being_updated.modified_at
(notdb_current_time
like you might guess)object_being_updated.modified_at
is not updated when the updates are saved inside aleave_modified_user_alone
block
- Use db_current_time for the log entry
- Revert the part of #13168 that avoids updating modified_at. (The original premise of #13168 was to stop changing
modified_by_user_uuid
. I don't see anything in the commit messages or on the ticket explaining why we stopped changingmodified_at
as well -- perhaps we didn't need to?)
Actions