Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.11, 4.7.12
-
Fix Version/s: 4.7.14
-
Component/s: CiviContribute
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
There is some buggy code in CRM/Utils/DeprecatedUtils.php that breaks the civicrm_api3_create_error() error function. As a result, the error message produced is not passed through to the user, which can be a very frustrating experience.
To reproduce, please follow the following steps:
- create a CSV file with some test data
- go to 'contribution import'
- import the file with "is pledge payment" = YES
- introduce an error, e.g. an invalid pledge ID or an amount mismatch
- observe that the import of the affected rows is rejected, but no information of the error is contained in the resulting file.