Issue Bug Closed

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

Peter Klein 08/06/08, 20:14 updated 09/09/13, 09:44

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 =

TCAselectItem=|

  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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.