Review main Abandoned

74674[BUGFIX] Respect uninitialized properties in extbase

Sascha Egerer CR 0 V 0 Normal +64 −7 updated 05/18/22, 14:55

Commit message

Make extbase property mapper work when using unitialized properties
in a model.
The property mapper used `get_object_vars()` to get the properties
of a class which does only return "initialized" properties since
PHP 7.4. So if a property is "typed" but has no default value
assigned it is "uninitialized" and therefore not returned by
get_object_vars() and never mapped by the property mapper.

Using `get_class_vars()` will return all available properties of
a class.

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 2