Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

missing validators #81

Open
franzholz opened this issue Jan 20, 2018 · 3 comments
Open

missing validators #81

franzholz opened this issue Jan 20, 2018 · 3 comments

Comments

@franzholz
Copy link
Contributor

The TYPO3 devLog reports missing validators:

  • Validator class Romm\Formz\Configuration\Form\Settings\FormSettingsValidator does not exist
  • Validator class Romm\Formz\Configuration\Form\Field\Settings\FieldSettingsValidator does not exist
  • Validator class Romm\Formz\Configuration\Settings\SettingsValidator does not exist
  • Validator class Romm\Formz\Configuration\View\Classes\ViewClassValidator does not exist
  • Validator class Romm\Formz\Configuration\View\Classes\ClassesValidator does not exist
  • Validator class Romm\Formz\Configuration\View\Layouts\LayoutValidator does not exist
  • Validator class Romm\Formz\Configuration\View\Layouts\LayoutGroupValidator does not exist
  • Validator class Romm\Formz\Configuration\View\ViewValidator does not exist
  • Validator class Romm\Formz\Configuration\ConfigurationValidator does not exist
  • Validator class Romm\Formz\Configuration\Form\Field\Validation\MessageValidator does not exist
  • Validator class Romm\Formz\Configuration\Form\Field\Validation\ValidationValidator does not exist
  • Validator class Romm\Formz\Configuration\Form\Field\Behaviour\BehaviourValidator does not exist
  • Validator class Romm\Formz\Configuration\Form\Field\FieldValidator does not exist
  • Validator class Romm\Formz\Configuration\Form\FormValidator does not exist

Maybe they could be added one day.

@romm
Copy link
Owner

romm commented Jan 22, 2018

Actually, I have no idea why you do have these logs.

Do you have any trace of where it comes from?

@franzholz
Copy link
Contributor Author

The devLog entries come from TYPO3 6.2.31. Could it be that TYPO3 6.2.31 should not be used any more because of too many errors with Extbase/Fluid? I have other troubles with it.

I always get these error messages instead of the form view. (I have adapted the formz_example a little)

The configuration for this form contains at least one error:

view.layouts
    1241099149: Object expected, array given.
forms.JambageCom\Erstzulassung\Form\SearchForm.fields
    1241099149: Object expected, array given.

The line numbers are not exact, because I have added debug lines.

ValidatorResolver.php   273 getBaseValidatorConjunction
ValidatorResolver.php   119 buildBaseValidatorConjunction
ValidatorResolver.php   65  buildBaseValidatorConjunction
ValidatorResolver.php   313 addCustomValidators
ValidatorResolver.php   336 createValidator
ValidatorResolver.php   57  createValidator
ValidatorResolver.php   103 devLog
GeneralUtility.php  5172    callUserFunction
GeneralUtility.php  4332    call_user_func_array
CoreHooks.php   88  debug

Array
msg Validator class Romm\Formz\Configuration\View\ViewValidator does not exist
extKey  extbase
severity    
Integer
0
dataVar 
Boolean
FALSE
$devLogArray

@romm
Copy link
Owner

romm commented Jan 22, 2018

Ok thank you, it seems to come from:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php#L119

Actually I'm not even sure this is an issue, I'll try to find time to investigate on this.


Concerning your configuration error, maybe we could get in touch on Slack, should be easier to communicate and I could probably help you. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants