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: handle GitHub repo deletion #1858

Open e18r opened 4 years ago

e18r commented 4 years ago

Description

An error appears while trying to look at the issues of a project whose corresponding GitHub repo has been deleted on GitHub. This is especially critical if the Projects project has some issues with active bounties.

Steps to reproduce

  1. On GitHub, create a repo and then create an issue in it
  2. On Projects, add the GitHub repo as a project
  3. On GitHub, delete the repo
  4. On Projects, go to the issues tab: a NOT FOUND error appears Screenshot from 2020-01-09 05-02-07
  5. On Projects, go to the Overview tab and delete the project: the project gets deleted
  6. Repeat steps 1 through 4, but this time add funding to an issue after step 2
  7. On Projects, go to the Overview tab and delete the project: the project can't be deleted because it has active bounties (see #1855) Screenshot from 2020-01-09 05-49-30

Expected behavior [needs design]