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

[Bug] issue_repo_index not set for migrated repos #16683

Closed
6543 opened this issue Aug 12, 2021 · 0 comments · Fixed by #16685
Closed

[Bug] issue_repo_index not set for migrated repos #16683

6543 opened this issue Aug 12, 2021 · 0 comments · Fixed by #16685
Labels
issue/regression Indicates a previously functioning feature or behavior that has broken or regressed after a change topic/repo-migration Migrate repos from other platforms to Gitea, or from Gitea to them type/bug
Milestone

Comments

@6543
Copy link
Member

6543 commented Aug 12, 2021

gitea version: v1.15.0-rc1 or newer

introduced with #15599

reproduce:

  1. migrate any repo with issues/pulls
  2. try to create a new pull or issue

-> newIssue: Error 1062: Duplicate entry '424-1' for key 'UQE_tmp_recreate__issue_repo_index'

@6543 6543 added type/bug issue/regression Indicates a previously functioning feature or behavior that has broken or regressed after a change topic/repo-migration Migrate repos from other platforms to Gitea, or from Gitea to them labels Aug 12, 2021
@6543 6543 added this to the 1.15.0 milestone Aug 12, 2021
zeripath pushed a commit to zeripath/gitea that referenced this issue Aug 27, 2021
zeripath pushed a commit to zeripath/gitea that referenced this issue Aug 27, 2021
Backport go-gitea#16663

Fix go-gitea#16683

* Upgrade xorm to v1.2.2

* Change the Engine interface to match xorm v1.2.2
6543 pushed a commit that referenced this issue Aug 28, 2021
…login sources remains correct (#16847) (#16849)

* Upgrade xorm to v1.2.2 (#16663)

Backport #16663

Fix #16683

* Upgrade xorm to v1.2.2

* Change the Engine interface to match xorm v1.2.2

* Add test to ensure that dumping of login sources remains correct (#16847)

#16831 has occurred because of a missed regression. This PR adds a simple test to
try to prevent this occuring again.

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
6543 pushed a commit that referenced this issue Aug 28, 2021
…login sources remains correct (#16847) (#16848)

* Upgrade xorm to v1.2.2 (#16663)

Backport #16663

Fix #16683

* Add test to ensure that dumping of login sources remains correct (#16847)

#16831 has occurred because of a missed regression. This PR adds a simple test to
try to prevent this occuring again.

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/regression Indicates a previously functioning feature or behavior that has broken or regressed after a change topic/repo-migration Migrate repos from other platforms to Gitea, or from Gitea to them type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant