Project

General

Profile

Actions

Bug #79059

closed

Missing type in TCA must throw an error

Added by Georg Ringer over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-12-21
Due date:
% Done:

100%

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

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.

Actions #1

Updated by Christian Kuhn over 7 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.

Actions #2

Updated by Gerrit Code Review over 7 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

Actions #3

Updated by Gerrit Code Review over 7 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

Actions #4

Updated by Gerrit Code Review over 7 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

Actions #5

Updated by Georg Ringer over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF