propelorm/Propel — Issue #208: Unable to delete archivable and timestampable objects
Author: skithund
Created: 2011-11-30 19:44:33+00:00
State: open

Trying to delete() object, which has both archivable and timestampable behaviours.

It seems that _archive tables don't inherit created_at and updated_at columns / methods.

```
PropelException: Call to undefined method: setCreatedAt in /WWW/vendor/propel/runtime/lib/om/BaseObject.php on line 400

Call Stack:
0.0008 650064 1. {main}() /WWW/admin/ajax/user-remove.php:0
0.0072 1615872 2. BaseUser->archive() /WWW/admin/ajax/user-remove.php:8
0.0093 2052040 3. BaseUser->copyInto() /WWW/build/classes/project/om/BaseUser.php:3000
0.0094 2064880 4. UserArchive->setCreatedAt() /WWW/build/classes/project/om/BaseUser.php:1571
0.0095 2065232 5. BaseObject->__call() /WWW/build/classes/project/om/BaseUser.php:1571
```