XFdestek
Kurucu Üye
Problem: If you call
Proof of concept:
PHP:
$entity->preSave()
, \XF\Mvc\Entity\Entity::$_writePending
is set to true
. If you subsequently call $entity->saveIfChanged()
, and no changes are detected, you cannot write to the entity later, unless you manually call $entity->reset()
.Proof of concept:
PHP: