I flag di gruppo non vengono visualizzati

:wave:
I have tried this on a hosted site and self hosted site with safemode enabled but issue still persists. Both sites are on 2.8.0 beta 4.

Repro

  1. Create group
  2. add a flair (I chose icon. Set as primary group)
  3. save changes and refresh the page

Expected result

When group is created user will see flair displayed next to their profile picture and group will have a flair displayed.

Actual result

No icon displayed in flair and no flair displayed in group name

3 Mi Piace

Hi, same bug here (the chosen icon for the flair doesn’t show up, only the background color). Can reproduce it on safe-mode so it isn’t theme dependent.

1 Mi Piace

Hello,

I tried to reproduce the bug, but it worked fine for me.

I pressed the :heavy_plus_sign: New Group button, set name, set myself as owner, checked Automatically set as primary group, checked Select an icon, used icon “plus” and pressed the “Create” button:

Is there something different that you do? Can you reproduce the same bug on try.discourse.org?

1 Mi Piace

I added a background colour if that helps? I can’t create groups on try.discourse.org.

1 Mi Piace

Try putting a background color on the flair and the icon in white (like ffffff).

1 Mi Piace

I understand now. I was able to reproduce the bug and it happened because there are two different code paths that can be used for rendering the flair. This is the PR:

4 Mi Piace

Sorry about the initial confusion! :sweat_smile: Thanks for the fix :tada:

1 Mi Piace

Thank you for reporting the bug here and thank you @nbianca for your work on fixing this.
The bug drove me crazy the whole day today. Hope to get rid of it soon!

1 Mi Piace

Is the fix live yet? And do we need to set flairs for each group again or it will be resolved after the update?

1 Mi Piace

Non sembra essere stato risolto ancora.

2 Mi Piace

Non ancora, verrà probabilmente unita all’inizio della prossima settimana.

No, non dovrebbe essere necessario. Tutti i flair verranno mantenuti.

6 Mi Piace

Ciao, dopo l’aggiornamento a Discourse 2.8.0.beta4

l’icona dell’avatar è scomparsa e ora, quando provo a caricare di nuovo l’immagine, non viene salvata.

Per favore, risolvete presto.

No, non funziona ancora.

Gentile team di Discourse, la correzione non funziona. Il comportamento dell’impostazione di un flair è lo stesso: scompare. Inoltre, non vengono visualizzati flair in nessun punto del forum.

@nbianca

@kynic, @kinetiksoft la correzione è stata unita 17 ore fa. Se non l’avete già fatto nelle ultime 17 ore, aggiornate all’ultima versione disponibile.

Se siete già sull’ultima versione, quale impostazione è presente in Visibilità?

1 Mi Piace

Bene, ho aggiornato il forum all’ultima versione, ma i flairs sono ancora assenti.
Ho persino caricato nuovi flairs per il gruppo, impostato il colore di sfondo e salvato. Nessuna modifica, i flairs sono assenti. Poi sono tornato alle impostazioni del gruppo e il flair caricato non c’è più, il campo colore di sfondo è vuoto.

SĂŹ, ora funziona. :grinning:

Si vede esattamente come nello screenshot.

@robotnjik quale impostazione c’è in Visibilità?

Attualmente funziona solo se imposto la visibilitĂ  su Tutti. Altre impostazioni eliminano il caricamento del flair e il colore di sfondo.

Circa un’ora fa è stato effettuato un altro merge che potrebbe risolvere il problema:

Qualcuno può confermare se questo risolve il problema in produzione?