Closed
Description
- Gitea version (or commit ref): 1.0
- Git version: 2.7.4
- Operating system: Ubuntu 16.04.1
- Database (use
[x]
):- PostgreSQL
- MySQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
When deleting an organization, I get a 500 error and this message shows in the logs:
2016/12/26 21:56:56 [...routers/user/home.go:47 getDashboardContextUser()] [E] GetOrganizations: user does not exist [uid: 7, name: , keyid: 0]
When accessing the database and deleting the correct entry from the org_user
table, the error goes away so it looks like when an org is deleted, it's not deleting the association there as well