Project

General

Profile

Actions

Bug #101488

closed

DebuggerUtility causes PHP warning, when persisted Extbase entity contains static properties

Added by Armin Vieweg over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-07-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by Nikita Hovratov about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF