You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the internal issue tracker is enabled the second URL forwards to the first it seems.
If the internal issue tracker is disabled and forwarding to an external tracker, then the second URL does not work properly.
I would expect that both methods should yield the same URL.
For the second method the file templates/repo/issue/view_content/context_menu.tmpl builds the URL:
if a pull request is displayed use the /pulls path
if a pull requests diff is displayed use the /pulls/{id}/files url
if an issue is displayed use the issues url
fixesgo-gitea#16102
Signed-off-by: Sebastian Sauer <[email protected]>
if a pull request is displayed use the /pulls path
if a pull requests diff is displayed use the /pulls/{id}/files url
if an issue is displayed use the issues url
Fixes#16102
Signed-off-by: Sebastian Sauer <[email protected]>
if a pull request is displayed use the /pulls path
if a pull requests diff is displayed use the /pulls/{id}/files url
if an issue is displayed use the issues url
Fixesgo-gitea#16102
Signed-off-by: Sebastian Sauer <[email protected]>
gitea was locally built and is running as a systemd service
[x]
):https://try.gitea.io/BracTest/piparallel/issues/7#issuecomment-87880
Description
In a pull request each comment has a link that can be used to reference the comment.
The link can be obtained by
https://try.gitea.io/BracTest/piparallel/pulls/7#issuecomment-87880
https://try.gitea.io/BracTest/piparallel/issues/7#issuecomment-87880
If the internal issue tracker is enabled the second URL forwards to the first it seems.
If the internal issue tracker is disabled and forwarding to an external tracker, then the second URL does not work properly.
I would expect that both methods should yield the same URL.
For the second method the file templates/repo/issue/view_content/context_menu.tmpl builds the URL:
Changing "%s%s/issues/%d#%s" to "%s%s/pulls/%d#%s" fixes it for my use case, but might break the issue tracker?
The text was updated successfully, but these errors were encountered: