Bug #79059
closedMissing type in TCA must throw an error
100%
Description
If a field got no type but a renderType defined, no error is thrown. The field is kind of rendered but saving does not work.
Updated by Christian Kuhn almost 8 years ago
i think we should except early in those cases. we should try to add either a new class "TcaSanitize" (or similar) and call it in bootstrap just before "TcaMigration" (and at the other places where TcaMigration is used), or just add a method "sanitizeTcaType()" to TcaMigration class directly (as first method call).
The check should throw an exception, ['config']['type'] is a mandatory field since ever.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51017
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51017
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51017
Updated by Georg Ringer almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4f02fc892cee500a13584b43d9001eecd4f6b415.