martin
(Martin Brennan)
13. Februar 2026 um 05:26
22
Danke für die Reproduktion, Moin, mir war nicht bewusst, dass automatische Gruppennamen auf diese Weise geändert werden können. Die Korrektur ist hier:
main ← issue/uc-staff-localization-group
opened 05:25AM - 13 Feb 26 UTC
We have a "Staff" option for upcoming change items that was sending
the `staff`… group name to the server. I had assumed that our automatic
groups could not be renamed, but this is not the case. If your
`default_locale` for your site is changed, the automatic group names
change via `Group.refresh_automatic_groups!` in a background job.
This means that if you change your `default_locale` to `de` (German),
the `staff` group becomes `Team`, and the upcoming changes that are set
to "Staff" will now be looking for the `staff` group, which no longer
exists, causing errors.
This commit fixes the issue by always using the localized staff
automatic group name, both for the value of the dropdown, and in
successs messsages etc.
c.f.
https://meta.discourse.org/t/issue-with-enabling-upcoming-changes/395881/16
4 „Gefällt mir“