Skip to content

Show/link to proper PR on kanban board ref #15004

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

Conversation

wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf
Copy link
Contributor

the issue was that PR references in kanban boards were being generated
using .ID instead of .Index, which led to constructing incorrect
links to possibly non-existent {PR,issue}s and following that to showing
nonsensical values in the boards.

kudos also go to @zeripath for pointing at the file to fix.

the issue was that PR references in kanban boards were being generated
using `.ID` instead of `.Index`, which led to constructing incorrect
links to possibly non-existent {PR,issue}s and following that to showing
nonsensical values in the boards.

kudos also go to @zeripath for pointing at the file to fix.

Signed-off-by: wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf <[email protected]>
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 16, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 16, 2021
@lafriks lafriks added this to the 1.14.0 milestone Mar 16, 2021
@zeripath
Copy link
Contributor

make lgtm work

@zeripath zeripath merged commit d2dc182 into go-gitea:master Mar 16, 2021
@lunny
Copy link
Member

lunny commented Mar 16, 2021

Please send back port

wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf added a commit to wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/gitea that referenced this pull request Mar 16, 2021
fix: {show,link to} proper PR on kanban board ref (go-gitea#15004)

the issue was that PR references in kanban boards were being generated
using `.ID` instead of `.Index`, which led to constructing incorrect
links to possibly non-existent {PR,issue}s and following that to showing
nonsensical values in the boards.

kudos also go to @zeripath for pointing at the file to fix.

Signed-off-by: wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf <[email protected]>
Co-authored-by: zeripath <[email protected]>
@jolheiser jolheiser changed the title fix: {show,link to} proper PR on kanban board ref show/link to proper PR on kanban board ref Mar 16, 2021
@jolheiser jolheiser changed the title show/link to proper PR on kanban board ref Show/link to proper PR on kanban board ref Mar 16, 2021
@jolheiser jolheiser added the backport/done All backports for this PR have been created label Mar 16, 2021
@wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf deleted the fix-incorrect-pull-reference-in-kanban-project-boards branch March 16, 2021 16:39
@zeripath zeripath removed backport/done All backports for this PR have been created backport/v1.13 labels Mar 16, 2021
@zeripath
Copy link
Contributor

bug introduced in #14183 which is only part of 1.14

@zeripath zeripath added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Mar 16, 2021
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants