Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-ALPHA2
-
Fix Version/s: 1.2.0-ALPHA2
-
Component/s: Record
-
Labels:None
-
Environment:MySQL 5.0.51, PHP 5.3
Description
Doctrine_Record:1469
} else if ($type == 'timestamp' || $type == 'date') {
return strtotime($old) !== strtotime($new);
These new lines cause inability to save NOW() to "date" field.
Change was commited in r6403 branch 1.2
MySQL error is:
SQLSTATE[HY000]: General error: 1364 Field 'date' doesn't have a default value
Possible fix attached.