Closed
Description
- Gitea version (or commit ref): 1.2.0-rc1 (binary install)
- Git version: 2.11.0
- Operating system: Ubuntu Linux 16.04 amd64
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
2017/09/01 11:47:16 [...ules/context/repo.go:527 func1()] [E] CheckUnit: You are not allowed to visit this repository unit: 2
Description
- Start with a repository that is configured for no issue tracker, or an external issue tracker
- Create a PR
- Press the Close button on the PR page
- Result: 404 web page, and log message shown above
- PR is not removed
The problem does not appear if the builtin issue tracker is enabled. In fact, to close the PR I can:
- Change to the builtin issue tracker
- Go close the PR
- Return to original issue settings (either no issue tracker, or external issue tracker)
Thanks!