Skip to content
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

Fix NPE when using non-numeric #20277

Merged
merged 2 commits into from
Jul 7, 2022
Merged

Conversation

Gusted
Copy link
Contributor

@Gusted Gusted commented Jul 7, 2022

- This code is only valid when `refNumeric` exist(otherwise we didn't find
such numeric PR and can skip that check) and give a free-pas to the  "BEFORE" check when
`ref` is nil.
- Resolves go-gitea#20109
@Gusted Gusted added this to the 1.18.0 milestone Jul 7, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 7, 2022
Gusted pushed a commit to Gusted/gitea that referenced this pull request Jul 7, 2022
- Backport (go-gitea#20277
  - This code is only valid when `refNumeric` exist(otherwise we didn't find such numeric PR and can skip that check) and give a free-pas to the  "BEFORE" check when `ref` is nil.
  - Resolves go-gitea#20109
@Gusted Gusted added the backport/done All backports for this PR have been created label Jul 7, 2022
@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 Jul 7, 2022
lunny pushed a commit that referenced this pull request Jul 7, 2022
- Backport (#20277
  - This code is only valid when `refNumeric` exist(otherwise we didn't find such numeric PR and can skip that check) and give a free-pas to the  "BEFORE" check when `ref` is nil.
  - Resolves #20109
@6543
Copy link
Member

6543 commented Jul 7, 2022

🚀

@6543 6543 merged commit 3f513f9 into go-gitea:main Jul 7, 2022
zjjhot added a commit to zjjhot/gitea that referenced this pull request Jul 8, 2022
* upstream/main:
  Add tooltip to repo icons in explore page (go-gitea#20241)
  Fix NPE when using non-numeric (go-gitea#20277)
dineshsalunke pushed a commit to dineshsalunke/gitea that referenced this pull request Jul 9, 2022
- This code is only valid when `refNumeric` exist(otherwise we didn't find
such numeric PR and can skip that check) and give a free-pas to the  "BEFORE" check when
`ref` is nil.
- Resolves go-gitea#20109
vsysoev pushed a commit to IntegraSDL/gitea that referenced this pull request Aug 10, 2022
- This code is only valid when `refNumeric` exist(otherwise we didn't find
such numeric PR and can skip that check) and give a free-pas to the  "BEFORE" check when
`ref` is nil.
- Resolves go-gitea#20109
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.17/1.18] 500 Error viewing branch after PR merge with non-numeric External Issue Tracker enabled
4 participants