mia3 / crossmedia_fourallportal

0 stars 4 forks source link

TYPO3 12: Various database fields and TCA changes #54

Open 3l73 opened 1 month ago

3l73 commented 1 month ago

Following database fields or TCA configuration has been deprecated or removed from the TYPO3 core.

These changes should be adapted to the dynamic model generation and boiler plate.

TCA & SQL: cruser_id

The field has been deprecated with TYPO3 12, the information is now stored within the table sys_history.

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-98024-TCA-option-cruserid-removed.html

The corresponding TCA configuration and SQL field definition should be removed.

TCA: showRecordFieldList

The definition of showRecordFieldList has been deprecated since TYPO3 10. The information is not evaluated by TYPO3 anymore and could be removed.

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/10.3/Feature-88901-RenderAllFieldsInElementInformationController.html

Following settings should be removed:

TCA: renderType

The TCA type select should define a the property renderType. This is currently missing at one place within the dynamic model generator:

https://github.com/mia3/crossmedia_fourallportal/blob/3e00a60366b14ba701e39256bcf21487052d6815/Classes/DynamicModel/DynamicModelGenerator.php#L672

TCA: number

Input fields that containing numeric values should use the type number instead of input. This new type is available since TYPO3 12.

https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/Type/Number/Index.html

The subtype integer or decimal can be configured by using the Format configuration

https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/Type/Number/Index.html#confval-number-format

Following lines are affected

TCA: datetime

Input fields that containing a date, time or datetime value should use the type datetime instead of input. This new type is available since TYPO3 12.

https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/Type/Datetime/Index.html

The subtype date, time or datetime can be configured by using the Format configuration

https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/Type/Datetime/Index.html#confval-datetime-format

Following lines are affected

TCA: file

TYPO3 12 introduced the new TCA type file to replace the old configuration structure, which makes the TCA more readable

https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/Type/File/Index.html

Following lines are affected