Task #45220
closed
[TASK] Move t3lib/stddb files to ext:core
Added by Christian Kuhn almost 12 years ago.
Updated about 7 years ago.
Description
- Create one file per TCA table in ext:core/Configuration/TCA
- A single TCA file returns the full array definition of a table
- Merge TCA 'columns' and 'ctrl' definition in one file
- Move t3lib/stddb/tables.php to ext:core/ext_tables.php
- For now, let ext:core/ext_tables.php require TCA files
- The T3LIB: prefix of dynamicConfigFile definitions is obsolete
- Status changed from New to Under Review
I've compared $TCA before and after the patch:
Edit typo3/init.php, at the end add:
\TYPO3\CMS\Core\Utility\GeneralUtility::writeFile(
'/tmp/foo-1.php',
\TYPO3\CMS\Core\Utility\ArrayUtility::arrayExport($GLOBALS['TCA'])
);
I dumped to foo-1.php before patch and foo-2.php after patch. A diff showed the only things that changed are the now missing dynamicConfigFile (ok), and some missing feInterface settings (also ok, they were broken references to itself, see patch).
So, I'm pretty sure the patch itself is ok and does not mess up $TCA, even with this pretty big moving around action.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Target version changed from 6.1.0 to 6.1.0-alpha1
- Status changed from Resolved to Closed
Also available in: Atom
PDF