We are getting this error, but are not sure why because it doesn't seem like the two transactions are duplicates:
https://civicrm.wikimedia.org/civicrm/search#/display/Import_3367/Import_3367?_status=ERROR
We are getting this error, but are not sure why because it doesn't seem like the two transactions are duplicates:
https://civicrm.wikimedia.org/civicrm/search#/display/Import_3367/Import_3367?_status=ERROR
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Ensure generated transaction reference is unique | Lars SG | wikimedia/fundraising/crm | master | +11 -3 |
@MDemosWMF So it turns out we are generating a "unique" gateway transaction id based on the check number (here empty), donor name, date and import row number. But obviously in the case of the anonymous donor, that's not unique enough! I will fix this, but in the meantime I have imported this transaction by changing the date in the import and then reverting it back to the correct value after importing.
Change #1199061 had a related patch set uploaded (by Lars SG; author: Lars SG):
[wikimedia/fundraising/crm@master] Ensure generated transaction reference is unique
Change #1199061 merged by Eileen:
[wikimedia/fundraising/crm@master] Ensure generated transaction reference is unique
@MDemosWMF This has now been deployed, so you shouldn't see any of these types of errors. Just bear in mind that if you import a file without a batch number, there is nothing to protect you from accidentally re-importing it, like there used to be.