Actions
Bug #95122
openTYPO3 falesly indexes file CHANGE time (ctime) into sys_file.creation_date.
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
Actions