Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.3, 4.3.4, 4.3.5
-
Fix Version/s: 4.3.6
-
Component/s: Core CiviCRM
-
Labels:None
Description
The validateData function instantiates a CRM_Contribute_DAO_Contribution object.
A few lines later, the call of loadObjects() function will erase this object by a new one because this object type "CRM_Contribute_DAO_Contribution" doesn't match "CRM_Contribute_BAO_Contribution".
There is no legacy.
Consequently, the line CRM_Utils_Date::isoToMysql() has no effect.
An "1292" MySQl error may occured in case of contribution failure. -> Date invalide.
(cf attachment)
I suggest to instantiate BAO objects for contribution and contact.
Can you please provide the steps to replicate this problem.