Last modified: 2013-12-15 12:17:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26829, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24829 - missing gift data from contributions after beginning of august
missing gift data from contributions after beginning of august
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
CiviCRM (Other open bugs)
wmf-deployment
All All
: Normal major (vote)
: ---
Assigned To: Arthur Richards
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-17 18:48 UTC by Arthur Richards
Modified: 2013-12-15 12:17 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Arthur Richards 2010-08-17 18:48:02 UTC
From Megan Hernandez:

The letter code under Gift Data for our contributions is missing from donations from Paypal.  I thought it started with the upgrade but it looks like the letter code is missing from our past records too.  Usually donations come in and are automatically marked as General but now they are not showing up at all.

Looks like the donations from August are missing all gift data as well (campaign, fund, appeal, letter code, thank you stage). 

Help please. What can I look up to help?

Megan
Comment 1 Arthur Richards 2010-08-17 18:50:20 UTC
It looks like when we stripped out the custom API code for the upgrade we might have neglected to add some of the custom data handling code back in (code from civicrm_api - see line 65, civicrm_api/civicrm_api.module, rev 49497)
Comment 2 Arthur Richards 2010-08-24 00:38:14 UTC
The bug that caused this has been resolved as of r71529.

I also whipped up a script to loop through all contributions since this became a problem that are missing /all/ of the custom data fields associated with contributions (with the exception of donor comments).  It sets the default values for the contributions in question.

The script also echoes out the contribution ID as well as a serialized JSON object of the contribution prior to the update in case we need to roll back.  Unfortunately, only the first 14 contributions recorded do no have serialized objects representing their original state (I didn't think of adding it in until after running a few tests on the live data).  But for the most part, we have backed up data for the updated contributions.  

All in all, 576 contribution records were updated.
Comment 3 Andre Klapper 2013-12-15 12:17:45 UTC
[Moving from "CiviCRM/General" to "Wikimedia/CiviCRM; see bug 57738]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links