-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Repository listing filter broken after upgrading from gogs 0.11.91 to gitea 1.12.0-rc2 #11824
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
Comments
I am not sure when the The following SQL statement will fix the problem. UPDAtE repository SET is_archived = false WHERE is_archived IS NULL; |
OK it looks like we could add another migration v142.go which does this step. Probably reasonable to do it as we never really want is_archived to be NULL |
Fix go-gitea#11824 Signed-off-by: Andrew Thornton <[email protected]>
* Add migration to set IsArchived false if it is null Fix #11824 Signed-off-by: Andrew Thornton <[email protected]> * Add doctor Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
…ort go-gitea#11853) Partial backport of go-gitea#11853 Add doctor check to set IsArchived false if it is null. (Migration change unfortunately not possible to be backported.) Fix go-gitea#11824 Signed-off-by: Andrew Thornton <[email protected]>
For 1.12 unfortunately we can't backport the auto-migration but the gitea doctor command could be used to fix this. |
…ort #11853) (#11859) Partial backport of #11853 Add doctor check to set IsArchived false if it is null. (Migration change unfortunately not possible to be backported.) Fix #11824 Signed-off-by: Andrew Thornton <[email protected]>
* Add migration to set IsArchived false if it is null Fix go-gitea#11824 Signed-off-by: Andrew Thornton <[email protected]> * Add doctor Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Description
After migrating from gogs 0.11.91 to gitea 1.12.0-rc2 the "Repositories" list to the right is broken. It was still working with 1.11.6. It seems to be a filtering issue: if I select archived (✓) or not archived (-) it works - with the empty checkbox (which should list both archived and non-archived) I get an empty list as per the attached screenshot.
Steps taken for the migration:
Screenshots
The text was updated successfully, but these errors were encountered: