500 error when visiting the general projects setting page
Steps to reproduce
- Visit https://gitlab.com/gitlab-org/gitlab/edit (or any project settings page) and a 500 error is returned.
At the moment, the error is only on canary not yet in prod
This is the diff between Canary and prod https://gitlab.com/gitlab-org/security/gitlab/compare/48c5b6e5a18...6e70b100587
Update: Deployment to prod finished so the error is now present in prod too.
Relevant logs and/or screenshots
Bug most likely introduced by !46222 (merged), which is at the moment being deployed to prod on https://ops.gitlab.net/gitlab-com/gl-infra/deployer/-/pipelines/422672
Error is only present on the General settings page, is not present in the other setting pages (e.g https://gitlab.com/gitlab-org/gitlab/-/settings/ci_cd).
Output of checks
This bug happens on GitLab.com
Possible fixes
Revert !46222 (merged) and cherry-pick the fix into the auto-deploy branch.
Edited by Mayra Cabrera