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
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
merged
max_tags_per_topic が現在の tests-passed で 0 に設定されている場合にサイレントに失敗することについて報告したいと思い、このトピックを見つけました。
再現手順:
max_tags_per_topicを 0 に設定します。- トピックにタグを追加します。
- タグが追加されていないことを確認します。
max_tags_per_topic が 1 に設定されており、2 番目のタグを追加しようとすると、「1 つしか選択できません」というエラーメッセージが表示されます。
バグはここにあると推測されます: https://github.com/discourse/discourse/commit/6bee972a5cebf9dccdf969f2936351cb23c641c6#diff-332f59f52705c2ca37ec4509fee6162024b4f97b8451c5c321de30d05661d127R87 。maximum が 0 の場合、if 式は false になります。
「いいね!」 3
ありがとうございます。こちらで修正しました。
「いいね!」 1
このトピックは19時間後に自動的に閉じられました。返信はもうできません。