shannah / xataface

Framework for building data-driven web applications in PHP and MySQL
http://xataface.com
GNU General Public License v2.0
134 stars 57 forks source link

beforeSave() and beforeInsert() hooks on adding related records work on "copies" of the record, and should not #106

Open patrr opened 5 years ago

patrr commented 5 years ago

The beforeSave() and beforeInsert() hooks on adding related records work on "copies" of the record since related records use special logic for inserts that is distinct from any pathway used by Dataface_Record. The result is that those hooks are ineffective when saving related records. Similar to issue #29