No site https://forum.dark-gaming.com , havia um distintivo de “Patron”. Mas, após o proprietário do site atualizar o fórum, o distintivo de Patron foi parcialmente sobrescrito pelo Discourse. Patron badge is overwritten since forum updated - Bug Reports - Dark Gaming
Evidências após a atualização:
O ID do distintivo no fórum é 108
Enquanto em outros sites, é 126
Este distintivo era um distintivo concedido manualmente.
Sou apenas um usuário desse site. Portanto, não consigo fornecer mais informações.
4 Curtiram
Sim, há uma colisão de nomes causando um problema aqui. Essa alteração adicionará algumas verificações para evitá-lo no futuro, renomeará o emblema de voz e restaurará o emblema de Patrocinador anterior.
main ← fix/badge-seed-clobbering
opened 04:16PM - 25 Sep 26 UTC
Reported here: https://meta.discourse.org/t/voice-badges-overwrote-a-custom-badg… e/412811
The "Patron" badge from the Voice plugin is overwriting the "Patron" badge from the Patreon plugin.
When plugins seed their badges with `Badge.seed(:name)` they can overwrite existing badges with the same name. This change adds `Badge.seed_unless_site_has("Badge name")` which skips seeding if there's an existing site-created badge with the same name. This has been applied to the core plugins that seed badges.
This also adds changes so badge translations no longer apply to non-system badges, so a plugin's locale file can't override the name or description of a badge the site created.
The "Patron" badge from the Voice plugin that was overriding the "Patron" badge from the Patreon plugin is now renamed to "Frequenter," and restores the Patreon "Patron" badge where the patrons group still exists.
3 Curtiram