Page MenuHomePhabricator

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.)

Event Timeline

JeroenDeDauw renamed this task from Rollback as appropriate on failure in AddDonation to Rollback as appropriate on db failure in AddDonation.Mar 18 2016, 12:31 PM
JeroenDeDauw created this task.
JeroenDeDauw updated the task description. (Show Details)

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