Page MenuHomePhabricator | MITK

BaseData::GetMTime wrongly/unnecessary updates timestamp of own instance
Open, HighPublic

Description

Currently BaseData::GetMTime updates the timestamp of this when the MTime of its time geometry is newer then its own MTime. This is a wrong behavior, that leads to changing timestamps just by checking them and therefor to wrong detection of "newest" BaseData instances (e.g. for the new statstics backend).

A correct implementation would be to pass the MTime of time geometry if it is newer then the own MTime.

Details

Differential Revisions
Restricted Differential Revision

Event Timeline

floca created this task.Fri, Nov 30, 11:25 PM
floca triaged this task as High priority.
floca claimed this task.
floca added a revision: Restricted Differential Revision.Tue, Dec 4, 3:45 PM