En el sitio web https://forum.dark-gaming.com , existía una insignia de «Patron». Sin embargo, después de que el propietario del sitio actualizara el foro, la insignia de Patron se sobrescribió parcialmente debido a Discourse. Patron badge is overwritten since forum updated - Bug Reports - Dark Gaming
La evidencia posterior:
El ID de la insignia para el foro es 108
Mientras que en otros sitios web, es 126
Esta insignia era una insignia otorgada manualmente.
Solo soy un usuario de ese sitio web. Por lo tanto, no puedo proporcionar más información.
4 Me gusta
Sí, hay una colisión de nombres que está causando un problema aquí. Este cambio añadirá algunas salvaguardas para evitarlo en el futuro, renombrará la insignia de voz y restaurará la insignia de Patron 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.
4 Me gusta