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.)
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T113249 [WMDE-Fundraising] Epic: Rewrite of frontend | |||
Resolved | kai.nissen | T123040 [WMDE-Fundraising] Add Donation | |||
Resolved | Tobi_WMDE_SW | T130362 Rollback as appropriate on db failure in AddDonation |
Event Timeline
Comment Actions
Since we write the tokens on prePersist(), there is only one statement carried out during persistence. There is no need to rollback anything anymore.