Issue Bug Closed

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

Armin Vieweg 07/30/23, 11:48 updated 07/09/24, 14:15

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.

Reviews 1

History 35

  1. Armin Vieweg commented 07/30/23, 11:50

    Back reference, to the original issue in DCE extension: https://github.com/a-r-m-i-n/dce/issues/64

  2. Gerrit Code Review pushed patch set 1 for 11.5 to change 80280 status New Under Review 07/31/23, 15:38

  3. Gerrit Code Review pushed patch set 2 for 11.5 to change 80280 07/31/23, 15:39

  4. Nikita Hovratov commented and changed status Under Review Resolved done 0 % 100 % 09/07/23, 20:19

    Applied in changeset commit:8a16e93cb825553f3a6fcf18b9d64c13ce2354d0.

  5. Benni Mack changed status Resolved Closed 07/09/24, 14:15