Bug #101488
closedDebuggerUtility causes PHP warning, when persisted Extbase entity contains static properties
100%
Description
This is the exception being thrown:
PHP Warning: Undefined property: T3\Dce\Domain\Model\Dce::$fieldsCache in /var/www/html/v11/public/typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php line 265
It's the _isDirty
method, which causes the warning.
The easiest way to reconstruct:
1. Install DCE extension
2. Create a new DCE
3. Add
<f:debug>{dce}</f:debug>to the main template
4. Clear system caches
5. Create a new content element on any page, based on this DCE
6. Visit the page
It is important, that debug preset (in system settings) is selected, to see the warning as exception.
Updated by Armin Vieweg over 1 year ago
Back reference, to the original issue in DCE extension: https://github.com/a-r-m-i-n/dce/issues/64
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80280
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80280
Updated by Nikita Hovratov about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8a16e93cb825553f3a6fcf18b9d64c13ce2354d0.