rusnewman/PHP-ORM — Issue #9: Commit method does not recalculate object hash
Author: rusnewman
Created: 2012-03-07 16:11:14+00:00
State: open
Labels: Bug

The commit method can now be called without having the destruct the object. This means that the hash used for detecting changes in the object may now become inconsistent if, for instance, an object is committed manually and then committed again at __destruct.

To prevent this, the object hash must be recalculated whenever the commit method is fired.