Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19539

Bug prevents error message to be shown on pledge contribution import

    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:

      1. create a CSV file with some test data
      2. go to 'contribution import'
      3. import the file with "is pledge payment" = YES
      4. introduce an error, e.g. an invalid pledge ID or an amount mismatch
      5. observe that the import of the affected rows is rejected, but no information of the error is contained in the resulting file.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              b.systopia Björn Endres
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: