Review 14.3 Merged

95542[BUGFIX] Read all properties of lazily loaded objects

Benni Mack CR +2 V +2 Normal +88 −0 updated 09/02/26, 09:07

Commit message

LazyLoadingProxy::__get() hands a property lookup to the domain
object API of the real instance, while __isset() looked the raw
property up on it. For the protected properties an entity normally
has, that answered false, so the Symfony property accessor behind
ObjectAccess concluded the property could not be read at all and
GenericObjectValidator refused to validate it.

__isset() now asks the real instance the same way __get() does, so
every property reachable through the proxy reports as set unless
its value is null.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 34

  1. Benni Mack commented on patch set 1 09/02/26, 06:12

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 09/02/26, 06:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107562

  3. Benni Mack voted on patch set 1 CR +2 V +2 09/02/26, 09:07

  4. Benni Mack merged patch set 2 09/02/26, 09:07