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

Memory problem when updating a contribution without soft contributions

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      If you update a contribution without soft contributions, CiviCRM wants to delete all existing soft contributions . Because CRM_contribute_BAO_ContributionSoft is called without a (soft contribution) id, CiviCRM first fetches every single soft contribution from the database.
      Our database has more than one million soft contributions, and I guess that is why updating an existing contribution causes a WSOD.

      I will upload a fix in a couple of minutes.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              johanv Johan Vervloet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: