mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-07-22 03:41:52 -05:00
[GH-ISSUE #326] Config: Name Collision Strategy dropdown does not persist (no save button) #5217
Reference in New Issue
Block a user
Originally created by @agent00bob on GitHub (Jun 17, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/326
Description
The
Name Collision Strategysetting in Configuration → Connections → GitHub Configuration defaults torepo-owner. Changing it toowner-repodoes not persist; navigating away and returning shows it reverted torepo-owner. There is no explicit Save button for this setting.Other settings on the same page auto-save correctly; only this drop-down is affected.
Impact: Repos are being created with the repo-owner naming pattern even after attempting to change the setting — confirming the change is not being persisted at all, not just a UI display issue.
Under the hood
Field appears to map to starredDuplicateStrategy in the configs table (schema: "suffix" | "prefix" | "owner-org", default "suffix"). Guessing that the onChange handler either doesn't fire or the save call silently fails.
Additionally, the docs don't list an environment variable for this field, so I was unable to test or workaround the issue by setting via the compose file.
Environment
Steps to Reproduce
Name Collision Strategyfromrepo-ownertoowner-repoName Collision Strategyis back torepo-ownerExpected
Selection persists after change (auto-save like other dropdowns) or a Save button is present for the setting.