Page MenuHomePhabricator

🐛️ Error occurs when trying to delete moderated donations
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce

  • Log into the FOC.
  • Look for donation ID 4189982 or 4190009 (probably any moderated donation data set will do).
  • Click the delete button.

Expected behaviour

  • The client shows an activity indicator.
  • When the deletion request to the server is successful the donation data set is marked as deleted.

Actual behaviour

  • While the activity indicator is displayed, the browser displays the alert message: "An error occured while updating the status."

Backend_Fehler.JPG (942×1 px, 106 KB)

Event Timeline

gabriel-wmde removed gabriel-wmde as the assignee of this task.EditedJun 3 2021, 4:26 PM
gabriel-wmde moved this task from Doing to Review on the WMDE-FUN-Sprint-2021-05-25 board.
gabriel-wmde subscribed.

I've investigated this and found out that we're still blocking bank transfer donations from being deleted. While implementing T276817: Add use cases for moderating and soft-deleting donations we discussed & agreed verbally that we need to change this, but never followed through.

PR is available: https://github.com/wmde/fundraising-donations/pull/154

When that is merged, we need to create a new bugfix release (e.g. 7.0.2) for the donation bounded context, update the dependencies of Fundraising Operation Center and deploy it.
The Fundraising App is not affected and does not need an immediate update and deployment (the cancel link is hidden for bank data donations).

@gabriel-wmde The error message is still displayed when trying to delete a moderated donation data set.

kai.nissen set the point value for this task to 3.Jun 7 2021, 10:20 AM
kai.nissen changed the point value for this task from 3 to 1.
gabriel-wmde moved this task from Doing to Test on the WMDE-FUN-Sprint-2021-06-07 board.

The new application was deployed, but the servers still ran the old version. I have cleared the opcache and now it works as expected. I'll talk to the hosting provider to find a solution for our deployments.