Sean Harvey
bc345803d5
BUG Fixing model not being set before populateDefaults()
...
In cases where a getter on a DataObject calls getComponent() or
other relational getter, $this->model won't have been set at
this point, and a fatal error is triggered.
This fixes it so $this->model is set *before* populateDefaults()
in DataObject::__construct() and the getters can operate normally.
2012-10-12 09:57:11 +13:00
..
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-20 10:46:59 +02:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-20 10:46:59 +02:00
2012-10-12 09:57:11 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-06-27 16:09:31 +02:00
2012-09-30 17:18:13 +13:00
2012-04-15 10:50:19 +12:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-07-20 14:51:12 +12:00
2012-04-27 15:54:14 +12:00
2012-04-27 15:54:14 +12:00
2012-10-03 15:34:39 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-20 10:46:59 +02:00
2012-07-20 14:51:12 +12:00
2012-07-13 11:37:35 +02:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00
2012-04-15 10:50:19 +12:00
2012-09-30 17:18:13 +13:00
2012-09-30 17:18:13 +13:00