Project

General

Profile

Actions

Bug #19198

closed

TCA is not loaded completely when "dynamicConfigFile" is used.

Added by Peter Klein over 16 years ago. Updated about 11 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TCA is not loaded completely when "dynamicConfigFile" is used.

The Typoscript below illustrates the problem.
It wil show the correct text value for the 1st example everytime, but for the 2nd it wil show the numeric value just after clearing cache.
The only difference between the 2 table setups, is that the 2nd is using "dynamicConfigFile"

Debugging also shows that in the 2nd case, only the "ctrl" section of TCA is loaded.

lib.tcatest = COA
lib.tcatest { # This part always work due to table setup is defined directly
10 = TEXT
10.value = 1
10.TCAselectItem.table = pages
10.TCAselectItem.field = fe_login_mode
10.wrap = <p>TCAselectItem=|</p>

  1. This part fails once just after clearing cache due to table setup is defined in tca.php using dynamicConfigFile
    20 = TEXT
    20.value = 1
    20.TCAselectItem.table = static_countries
    20.TCAselectItem.field = cn_address_format
    20.wrap = <p>TCAselectItem=|</p>
    }

page.1 < lib.tcatest

(issue imported from #M9131)

Actions

Also available in: Atom PDF