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

Don't update email for organisation #18905

Merged
merged 2 commits into from Feb 26, 2022
Merged

Conversation

Gusted
Copy link
Contributor

@Gusted Gusted commented Feb 26, 2022

- Fix regression caused by: f1b1472
- Don't try to insert a email for Organisation(as they don't have one).
- Resolves go-gitea#18891
@Gusted Gusted added the issue/regression Issue needs no code to be fixed, only a description on how to fix it yourself label Feb 26, 2022
@Gusted Gusted added this to the 1.17.0 milestone Feb 26, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 26, 2022
Gusted added a commit to Gusted/gitea that referenced this pull request Feb 26, 2022
@Gusted Gusted added the backport/done All backports for this PR have been created label Feb 26, 2022
@lunny
Copy link
Member

lunny commented Feb 26, 2022

Even organization could have an email address. But currently no verify UI for it. So I think this is a temporary resolution.

@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 Feb 26, 2022
6543 pushed a commit that referenced this pull request Feb 26, 2022
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@fd273b0). Click here to learn what that means.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #18905   +/-   ##
=======================================
  Coverage        ?   46.64%           
=======================================
  Files           ?      854           
  Lines           ?   122561           
  Branches        ?        0           
=======================================
  Hits            ?    57164           
  Misses          ?    58502           
  Partials        ?     6895           
Impacted Files Coverage Δ
models/user/user.go 57.97% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd273b0...1e4f49c. Read the comment docs.

@lunny lunny merged commit 33e19c8 into go-gitea:main Feb 26, 2022
zjjhot added a commit to zjjhot/gitea that referenced this pull request Feb 27, 2022
* giteaofficial/main:
  Fix page and missing return on unadopted repos API (go-gitea#18848)
  [skip ci] Updated licenses and gitignores
  Allow adminstrator teams members to see other teams (go-gitea#18918)
  Update nginx reverse proxy docs (go-gitea#18922)
  Don't treat BOM escape sequence as hidden character. (go-gitea#18909)
  Remove CodeMirror dependencies (go-gitea#18911)
  Uncapitalize errors (go-gitea#18915)
  Disable service worker by default (go-gitea#18914)
  Set is_empty in fixtures (go-gitea#18869)
  Don't update email for organisation (go-gitea#18905)
  Correctly link URLs to users/repos with dashes, dots or underscores (go-gitea#18890)
  Set is_private in fixtures. (go-gitea#18868)
  Fix team management UI (go-gitea#18886)
  Update JS dependencies (go-gitea#18898)
  Fix migration v210 (go-gitea#18892)
  migrations: add test for importing pull requests in gitea uploader (go-gitea#18752)
Chianina pushed a commit to Chianina/gitea that referenced this pull request Mar 28, 2022
- Fix regression caused by: f1b1472
- Don't try to insert a email for Organisation(as they don't have one).
- Resolves go-gitea#18891

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
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 issue/regression Issue needs no code to be fixed, only a description on how to fix it yourself lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP 500 when changing Organization Full Name
5 participants