Actions
Bug #89665
closedPHP error when updating database reference index after removing an extension that provided a form definition
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-11-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Remote Sprint
Description
When updating the database reference index after removing an extension that provided a form definition that was referenced in a content element the following PHP error occurrs:
Call to a member function getUid() on null in sysext/form/Classes/Hooks/SoftReferenceParserHook.php at TYPO3\CMS\Form\Hooks\SoftReferenceParserHook->findRef( 'tt_content', 'pi_flexform', 42, 'EXT:uninstalled_extension/Configuration/Form/contact.form.yaml', 'formPersistenceIdentifier', '', 'sDEF/lDEF/settings.persistenceIdentifier/vDEF/' )
How to reproduce:
- Install an extension providing a form.yaml
- Add a form content element and reference that form.yaml
- Uninstall the extension
- Edit the form content element, select another form definition and click "ok" in the popup
- Update the database reference index
Files
Actions