Rollback as appropriate on db failure in AddDonation
Closed, ResolvedPublic5 Story Points


When update token generation fails, the UC will fail, however the stuff written to the db before will not be rolled back. We need to do some transaction work here. (TODO present in the code.)

JeroenDeDauw renamed this task from Rollback as appropriate on failure in AddDonation to Rollback as appropriate on db failure in AddDonation.
JeroenDeDauw updated the task description. (Show Details)
Lea_WMDE moved this task from Incoming to WMDE Fundraising on the TCB-Team board.May 11 2016, 12:21 PM

Since we write the tokens on prePersist(), there is only one statement carried out during persistence. There is no need to rollback anything anymore.

Tobi_WMDE_SW closed this task as Resolved.Apr 7 2017, 11:26 AM
Tobi_WMDE_SW claimed this task.
Restricted Application added a project: WMDE-FUN-Team. · View Herald TranscriptApr 7 2017, 11:26 AM