Review 10.4 Abandoned

75364[BUGFIX] Use ClassSchema to properly detect DomainObject properties

Benni Mack CR 0 V 0 Normal +170 −70 updated 08/08/22, 17:21

Commit message

To gather information about properties of domain objects, extbase
used method DomainObjectInterface::_getProperties() which internally
used get_object_vars() which does not return uninitialized properties.

This leads to the inability to use such uninitialized properties
in models. Hence, those properties are not reconstituted at all
when converting an object instance from a database row, eventually
leading to fatal errors.

To mitigate this issue, extbase does now use the existing information
about classes gathered via ClassSchema which gathers information via
reflection (anyway).

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 8