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

Edit team API fails with nil pointer dereference #6777

Closed
2 of 7 tasks
ngourdon opened this issue Apr 27, 2019 · 0 comments · Fixed by #6780
Closed
2 of 7 tasks

Edit team API fails with nil pointer dereference #6777

ngourdon opened this issue Apr 27, 2019 · 0 comments · Fixed by #6780
Labels
Milestone

Comments

@ngourdon
Copy link
Contributor

  • Gitea version (or commit ref): 81059a2
  • Git version: 2.21.0
  • Operating system: Ubuntu 18.04.1
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Edit team API fails with nil pointer dereference:

runtime error: invalid memory address or nil pointer dereference
	/snap/go/3584/src/runtime/panic.go:82
		panicmem: panic(memoryError)
	/snap/go/3584/src/runtime/signal_unix.go:390
		sigpanic: panicmem()
	~/go/src/code.gitea.io/gitea/routers/api/v1/org/team.go:192
		EditTeam: OrgID: ctx.Org.Organization.ID,
@lafriks lafriks added this to the 1.8.1 milestone Apr 28, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants