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

Error assigning Issue to project (after the issue has been created) #25649

Closed
lucas-labs opened this issue Jul 3, 2023 · 1 comment · Fixed by #25665
Closed

Error assigning Issue to project (after the issue has been created) #25649

lucas-labs opened this issue Jul 3, 2023 · 1 comment · Fixed by #25665
Labels

Comments

@lucas-labs
Copy link

Description

I'm getting an error when trying to assign issues to a project once the issue has already been created (it works if I assign the issue to the project while creating the issue).

That is, when trying to assign the issue to the project here:

image

The issue is reproducible in the Gitea demo (obviously, I can't see if the logs are the same, but I can't assign issues to projects there either)

Gitea Version

1.20.0+rc2-25-g1ddfe0313

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

https://gist.github.com/lucas-labs/9622960103e75e627439bbe2ffc83f47

Screenshots

No response

Git Version

git version 2.35.0.windows.1

Operating System

Windows 11

How are you running Gitea?

As a Windows Service from the gitea-1.20-windows-4.0-amd64.exe binary provided in the downlaods page.

Database

SQLite

@Zettat123
Copy link
Contributor

might be related to

oldProjectID := issue.Project.ID
if oldProjectID == projectID {
continue
}

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