Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.0.13
-
Fix Version/s: None
-
Component/s: Behaviors, Timestampable
-
Labels:None
-
Environment:MacOS, Symfony 1.2.9DEV
Description
The Timestampable behavior does not set created_at or updated_at on a call to replace() (if it doesn't exist yet it ought to do both).
I see some old discussion on the subject of possibly exterminating replace() rather than fixing it to work with things like behaviors, but I also see that a similar ticket was opened for Doctrine 1.2 and the issue has apparently been addressed there.
We did have a ticket for this already and it was fixed in Doctrine 1.2. It's not something we can include in 1.0.