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

Description

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)

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