EXT:form tries to get identifier from string
I think there is a problem which shouldn't exist. When I add additional configuration to EXT:form with allowedExtensionPaths pointing to folder with *.yaml forms and one of the files are empty/unable to parse I receive error page in backend module.
Message is "Call to a member function getCombinedIdentifier() on string".
Problem is in typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php line 114. Variable $file has string type so it isn't possible to retrieve file identifier
#3 Updated by Patricia Tiedemann 8 months ago
- File trish_formtest_1.0.0.zip added
I created a little patch to prevent this.
Added to this ticket is a simple testing extension with one working and one broken yaml form configuration.To recreate:
- Install Extension trish_formtest (creative name, I know ;)
- Page > Create new content element > Form elements
- Tab "Plugins" > Select "Form definition" should now contain "Call for papers" and "An error occured…"
Without this patch an exception will be thrown saying "Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function getCombinedIdentifier() on string" whenever you try to create a form content element on any page or try to view a page or content element in the backend where this broken form was already inplemented.