Fixed Entity::_cascadeSave is not cleaned up Entity::_saveCleanUp is called

Xon

Well-known member
Affected version
2.3.7
Callables registered with Entity::whenSaveable() are invoked after the cascade saves are invoked, but if a the entity's save() method is invoked again, the identical object graph in the cascade saves are saved again

This becomes an issue if one of those objects have been deleted.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.8).

Change log:
Ensure _cascadeSave is cleared out when Entity::_saveCleanUp is called
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom