Project

General

Profile

Actions

Task #92294

closed

Increase size of tt_content.filelink_sorting

Added by Georg Tiefenbrunn over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-09-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Since https://github.com/TYPO3/TYPO3.CMS/commit/a01a7462ee189ca1114280cb4b29db9b4bd2c600#diff-84394bdbb2ff63aaac5e2b031980f6a8 tt_content.filelink_sorting is defined as

filelink_sorting varchar(17) DEFAULT '' NOT NULL,

TYPO3\CMS\Frontend\DataProcessing\FilesProcessor uses TYPO3\CMS\Frontend\Resource\FileCollector::sort() to sort records by any property of FileInterface. CType uploads (EXT:fluid_styled_content) passes the content of field tt_content.filelink_sorting to FilesProcessor.

content_creation_date (21) and content_modification_date (25) won't fit into varchar(17) and thus can't be used as option for tt_content.filelink_sorting.

It should be possible to use at least all properties defined in sys_file_metadata.

Actions #1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65737

Actions #2

Updated by Gerrit Code Review over 3 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65721

Actions #3

Updated by Georg Ringer over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Georg Tiefenbrunn over 3 years ago

Thx for the quick fix!

Actions #5

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF