Project

General

Profile

Actions

Task #45220

closed

[TASK] Move t3lib/stddb files to ext:core

Added by Christian Kuhn about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2013-02-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
medium
Sprint Focus:

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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #45107: Get rid of loadTCA and simplify FE cache behaviorClosed2013-02-03

Actions
Actions #1

Updated by Gerrit Code Review about 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18080

Actions #2

Updated by Christian Kuhn about 11 years ago

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.

Actions #3

Updated by Christian Kuhn about 11 years ago

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

Updated by Gerrit Code Review about 11 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master_new has been pushed to the review server.
It is available at https://review.typo3.org/18630

Actions #5

Updated by Christian Kuhn about 11 years ago

  • Status changed from Under Review to Resolved
Actions #6

Updated by Oliver Hader about 11 years ago

  • Target version changed from 6.1.0 to 6.1.0-alpha1
Actions #7

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF