AutarkLabs / open-enterprise

A suite of apps that includes allocation, dot voting, issue curation, and other planning tools so organizations can collectively budget and design custom reward & bounty systems.
GNU General Public License v3.0
92 stars 54 forks source link

Projects: "Action Impossible" while deleting project with bounties #1855

Open e18r opened 4 years ago

e18r commented 4 years ago

Summary

When trying to delete a project whose issues have active bounties, an "Action Impossible" error shows up.

Steps to reproduce

  1. Add a project
  2. Add funding to one of its issues
  3. Attempt to delete the project: an "Action Impossible" message shows up. Screenshot from 2020-01-09 05-49-30
  4. Submit work for the funded issue
  5. View the work submission and accept it: the bounty status appears as "Fulfilled" Screenshot from 2020-01-09 05-54-05
  6. Attempt to delete the project: the transaction preview panel shows up and the project deletion is executed as expected. Screenshot from 2020-01-09 05-54-55

Expected behavior [needs design]

If a user attempts to delete a project with active bounties, let them know that all bounties need to be in a fulfilled status in order for the project to be deletable.

Final thoughts

Currently, it's impossible to cancel a bounty. An issue with a bounty associated needs to be fulfilled in order for the bounty not to be active. Bounties should be massively cancellable.