Page MenuHomePhabricator

Non-donors have donor_status_id 100 (should be 1000) since Oct 9
Closed, ResolvedPublic

Description

Not clear to me how this is being set. This appears to be all donors without contributions, mostly RML but also those created manually in CiviCRM. Is happening for most contacts, but some new contacts are not getting any values for segment or status. Is not happening on contact modification. Contacts who have a refunded donation are correctly showing 1000 as you would expect from contribution table triggers.

Need to fix and then backfill with correct values.

Details

Event Timeline

Lars triaged this task as Low priority.
Lars updated the task description. (Show Details)

The problem was that the database default was 100, even though the default shown in the UI was 1000. After a recent upstream change to always set default values for custom fields when creating entities via API, this resulted in all our API-created new contacts having the incorrect donor_status_id of 100.

Upstream PR to fix the root cause.

Change #1200405 had a related patch set uploaded (by Lars SG; author: Lars SG):

[wikimedia/fundraising/crm@master] Fix incorrect donor_status_id and default

https://gerrit.wikimedia.org/r/1200405

And one more upstream fix to make the UI around custom field defaults less confusing.

Change #1200405 merged by Eileen:

[wikimedia/fundraising/crm@master] Fix incorrect donor_status_id and default

https://gerrit.wikimedia.org/r/1200405

AKanji-WMF set Final Story Points to 4.