Project

General

Profile

Actions

Bug #95122

open

TYPO3 falesly indexes file CHANGE time (ctime) into sys_file.creation_date.

Added by Andrea Herzog-Kienast over 2 years ago. Updated about 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2021-09-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Updated description

TYPO3 indexes a file's mtime into sys_file.modification_date, which is correct. The mtime = modification time of file content.
TYPO3 indexes a file's ctime into sys_file.creation_date, which is wrong . The ctime = change time of the file node (including name, access modifiers, and content).

ctime >= mtime, basically always.

The "c" stands for "change", not "creation".

TYPO3 also labels this sys_file.creation_date field in the backend as "Created At", which is wrong, as it contains semantically the filesystem change time of the file, as noted above.

Original ticket Description

Hey guys,

It seems that create date and Last modified date in FAL is reversed (info and ref view.) Checked it in TYPO3 7/8/10.

Cheers,

Andrea


Files

last-mod-1.PNG (7.14 KB) last-mod-1.PNG Andrea Herzog-Kienast, 2021-09-06 14:34
Bildschirmfoto 2021-09-06 um 16.32.53.png (43.2 KB) Bildschirmfoto 2021-09-06 um 16.32.53.png In List View its correct Christoph Schwob, 2021-09-06 14:41
Actions

Also available in: Atom PDF