[FEATURE] Auto-create DB fields from TCA for type "email"
Tables with TCA columns set to type="email" do not need an ext_tables.sql entry anymore. The core now creates this field automatically. This is one patch of more in this area: The v13 goal is to obsolete ext_tables.sql in most cases by creating default "business" fields of TCA tables automatically. The patch adds the main magic in class DefaultTcaSchema and removes own ext_tables.sql definitions having type=email. According tests sets are added and existing tests are hardened a bit towards more strict comparison. Resolves: #101654 Related: #101553 Releases: main Change-Id: I4060f7d8f3bab12f4272b5e9ebed9ac2d96b97a4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80515 Reviewed-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan B�rk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan B�rk <stefan@buerk.tech>
Showing
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 19 additions, 4 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Documentation/Changelog/13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst 1 addition, 0 deletions...13.0/Feature-101553-Auto-createDBFieldsFromTCAColumns.rst
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 75 additions, 26 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
- typo3/sysext/core/ext_tables.sql 0 additions, 2 deletionstypo3/sysext/core/ext_tables.sql
- typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/tx_blogexample_domain_model_comment.php 1 addition, 3 deletions...Configuration/TCA/tx_blogexample_domain_model_comment.php
- typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/tx_blogexample_domain_model_person.php 1 addition, 3 deletions.../Configuration/TCA/tx_blogexample_domain_model_person.php
- typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_tables.sql 0 additions, 2 deletions...unctional/Fixtures/Extensions/blog_example/ext_tables.sql
- typo3/sysext/frontend/ext_tables.sql 0 additions, 1 deletiontypo3/sysext/frontend/ext_tables.sql
Please register or sign in to comment