femanager
femanager copied to clipboard
Nearly all field partials contains deprecated settings in used validation viewhelper
Additional every used field generates a deprication log entry.
To fix:
Remove all settings:settings
from the field partials
Change the validation viewhelper:
$this->registerArgument('settings', 'array ', 'all TypoScript settings for this form', true);
to:
$this->registerArgument('settings', 'array ', 'all TypoScript settings for this form [deprecated]', false);
Change the since TYPO3 9 marked as deprecated GeneralUtility::deprecationLog with this:
if ($settings !== []) {
trigger_error('Settings should not be filled any more in field partials. Pls update your femanager partial files.', E_USER_DEPRECATED);
}
See: https://github.com/in2code-de/femanager/issues/220