Issue Task Resolved

#111611Read entity properties via reflection in UriBuilder and TextViewHelper

Alexander Schnitzler 11/25/26, 18:15 updated 11/26/26, 14:00

Description

Follow-up to #95823 (https://review.typo3.org/c/Packages/TYPO3.CMS/+/88948), which switched the Extbase persistence layer to accessing entity properties via reflection.

DomainObjectInterface::_getProperties() is still used by:

  • UriBuilder::convertTransientObjectToArray() (serialization of AbstractValueObject link arguments)
  • TextViewHelper (f:render.text), to find the record type and the field value of an Extbase entity

Both should read the property values through ReflectionService like the persistence layer does, so _getProperties() loses these callers and can be removed later.

The change is not breaking: the same properties are returned. Uninitialized typed properties and internal _ properties are skipped, as before.

Reviews 1

History 35

  1. Alexander Schnitzler changed Related to #95823 11/25/26, 18:16

  2. Alexander Schnitzler changed description 11/25/26, 18:26

  3. Gerrit Code Review pushed patch set 1 for main to change 98039 status New Under Review 11/25/26, 19:31

  4. Gerrit Code Review pushed patch set 2 for main to change 98039 11/26/26, 13:03

  5. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 11/26/26, 14:00

    Applied in changeset commit:2f492e772f350854add822be9cbe7ad6457ab530.