Since this week. we no longer see an error message when you more than max tags per topic on a topic. Instead, the topic just saves, but the additional tags are discarded silently.
2 Mi Piace
Hi,
it should be fixed by
https://github.com/discourse/discourse/pull/9018
I added few tests, hopefully we don’t regress on this anymore.
Thanks.
8 Mi Piace
merged
Ho trovato questo argomento quando volevo segnalare che max_tags_per_topic non funziona silenziosamente nei test correnti superati quando è impostato su 0.
Riproduzione:
- impostare
max_tags_per_topicsu 0 - aggiungere un tag a un argomento
- vedere che non viene aggiunto
Quando max tags per topic è impostato su 1 e si tenta di aggiungere un secondo tag, viene visualizzato un messaggio di errore “puoi selezionare solo 1 elemento”.
Sospetto che il bug sia qui, se maximum è 0 allora l’espressione if è falsa.
3 Mi Piace
Grazie! L’abbiamo risolto qui:
1 Mi Piace
Questo argomento è stato chiuso automaticamente dopo 19 ore. Non sono più consentite nuove risposte.