Discourse Meta
自定义字段转换是否受最近更新影响?
开发
zogstrip
2019 年7 月 12 日 10:24
3
这确实是一个与自定义字段相关的已知 bug。
在非常特定的条件下,系统会将该值多次保存,从而生成一个数组,而您实际上只需要一个整数。
您可以通过确保数据库中每个自定义字段只有一行记录来修复此问题。
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
How to add custom fields to models
Extras
pavilion
48
9518
2025 年9 月 30 日
Db:migrate fails on discourse-calendar (stable branches)
Self-hosting
2
800
2019 年9 月 6 日
Potential bug where data in custom fields is cleared if certain fields change
Bug
events
,
fixed
1
122
2026 年8 月 14 日
Db:migrate fails on discourse-calendar
Self-hosting
3
1489
2019 年8 月 1 日
Are custom_fields on posts/topics available via the API?
Development
7
3502
2018 年10 月 24 日