Closed laurisaarni closed 7 years ago
I usually put all forms into their own directory… :)
I suggest to go for the solution, Karsten pointed out. Checking for "TYPO3.Form:Form" (or "Neos.Form:Form" for that matter) won't work because that type can be changed.
The
listForms
method inYamlPersistenceManager
triggers warning when the index is not found in the array containing settings from a YAML file.In our case
ContactForm.yaml
is located inPackages/Sites/WE.SitePackage/Configuration
which contains other non form setting YAML files as well.When the code tries to access
$form['identifier']
on line 105 it causes index not found warning what will be displayed in the Neos backend.Suggested fix: add type check before access the
$form
array: