files_lock icon indicating copy to clipboard operation
files_lock copied to clipboard

Potential Logic Issue in GetLocksOlderThan Methods Data Retrieval.

Open zhiqi-23 opened this issue 1 year ago • 1 comments

The GetLocksOlderThan (int $timeout) method cannot retrieve data. The 149 lines of this method are the conditions for data query, which cannot retrieve data. Because "$timeout" is the set time (in minutes), and the creation field in the files_lock data table is a unix timestamp, a 10 digit integer number$ Timeout * 60 is impossible to exceed the value of the creation field, which means that data cannot be retrieved. Is there a problem with this logic.

zhiqi-23 avatar Mar 20 '24 05:03 zhiqi-23

That looks like 27.0.x code but I am seeing this issue on 29.0.x as well.

AT-StephenDetomasi avatar Aug 24 '24 04:08 AT-StephenDetomasi