Discourse Meta
Custom_fields 更新同步导致值转为数组
开发
rest-api
eviltrout
(Robin Ward)
2020 年8 月 25 日 16:36
6
这听起来像是自定义字段的现有行为,而非回归问题。有几种方法可以修复:
您可以在自定义字段(name, user_id)上添加唯一索引
您可以使用 DistributedMutex 将代码包裹起来
您可以采用表结构设计,而不是使用自定义字段
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Custom_fields simultaneous save with json becomes an array
Bug
3
1245
2017 年11 月 17 日
Custom fields concurrency issue
Development
0
92
2025 年5 月 6 日
Inconsistent behaviour in UserUpdater class
Development
4
905
2020 年8 月 25 日
[API] data loss caused by changed behaviour of custom user_field update
Bug
2
836
2017 年12 月 20 日
Custom field casting affected by recent update?
Development
5
1272
2020 年8 月 25 日