Closed stoppeye closed 1 year ago
cruser_id is unset in TCA/Overrides, I don't see a problem here
Yeah, I can see that it gets unset in TCA/Overrides, but it doesn't seem to have the desired effect.
If I do the following in my plugin controller:
debug($GLOBALS['TCA']['tt_address']['columns']);
Then I get this in FE:
array(76 items)
pid => array(2 items)
crdate => array(2 items)
cruser_id => array(2 items)
tstamp => array(2 items)
hidden => array(3 items)
...
As you can see, cruser_id
is still there...
Will check
Bug Report
Current Behavior The column
cruser_id
is still present inConfiguration/TCA/tt_address.php
, but not inext_tables.sql
. Sincecruser_id
is obsolete in V12 (Breaking: #98024 - TCA option cruser_id removed), it will no longer be auto-created during installation of the extension. This leads to a mismatch between columns in TCA and in the database, which can lead to database errors, if an application relies on the TCA oftt_address
.Expected behavior/output The columns array in TCA should reflect the actual columns in the database.
Environment
Possible Solution Remove column
cruser_id
from TCA (or only add it conditionally for V11)