Project

General

Profile

Actions

Task #68409

closed

Clean usage of non-string-values in TCA-definitions

Added by Stefan Neufeind over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2015-07-21
Due date:
% Done:

0%

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

Description

We have quite a number of settings in the default TCA-files which sometimes are an int or even boolean and sometimes a string. These include for example size, max, maxitems (all int) and show_thumbs (bool).
Use the proper type consistently.

In the docs the types are defined, for example:
http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html

Actions #1

Updated by Stefan Neufeind over 9 years ago

Can we maybe make a map for those value-types, so they could be auto-generated (for the docs) and auto-converted (when reading and before caching TCA)? Would this allow for any kind of optimisation maybe?

Actions #2

Updated by Stefan Neufeind over 7 years ago

  • Status changed from New to Closed

looks clean in current versions

Actions

Also available in: Atom PDF