Review main Merged

78051[TASK] Let DataMapper::createEmptyObject() use doctrine/instantiator

Alexander Schnitzler CR +2 V +2 Hard +336 −96 updated 03/29/23, 09:32

Commit message

During the removal of the ObjectManager (Extbase), the way the
DataMapper instantiates entities when thawing objects, i.e.
fetching a database row and transform it back into an entity
object, changed. doctrine/instantiator had been used to create
empty objects, i.e. creating objects without calling their
constructor. Now, entities with constructors cannot be thawed
any longer. To bring back this way of working (which existed
for as long as Extbase itself does), doctrine/instantiator is
brought back and used.

> composer req doctrine/instantiator:^2.0

Review

  • Code review CR +2

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

  • Verified V +2

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

Issues 2

Files 10