-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closing a PR fails (404 web page) if external issue tracker enabled, or no issue tracker enabled #2447
Comments
A PR is also an issue. So if we closed the issues, then maybe all the PR related features should be hidden also. |
I don't think so. PR should still work even if issues is disabled |
So we still have Issues tab and only list all the Pull Requests? |
No do not have issues tab, just PR tab but we have to function them properly |
I suspect the following behavior is related to the same root cause. With external issues enabled, and trying to create (or edit) a PR comment to add an issue reference of the form #NNNN, the Preview pane shows the comment as one might expect. Yet on Save, gitea logs the message below and does not save the PR comment.
If I enable builtin issues, add/edit a PR comment to include #NNNN, Save the comment, then re-enable external issues, then the PR comment displays correctly. This behavior does not appear to apply to references of the form:
The above extended reference format seems to allow me to refer to one PR from another PR comment even when external issues are enabled. |
Also a 404 on 1.2.0+rc2 if there is no issue tracker. Even without a PR. Might be related.
|
@iamnumbersix your problem should be different from this one. |
Comment, start time tracker and add time tracker, error page 404 is returned too. In my opinion, using external or internal issue tracker should not be related to the functionality of the pull request, the comment part is undisputed, in the case of the time tracker I may want to record activities in the pull request with no relation to an issue, just record of the work itself. However if this is not accepted, at least the time tracker options in the pull request should be hidden as well as enabled external tracker issue. |
[x]
):Description
The problem does not appear if the builtin issue tracker is enabled. In fact, to close the PR I can:
Thanks!
The text was updated successfully, but these errors were encountered: