[BUG] /api/notice/rules 409
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
An exception occurred while calling convertToEntityAttribute on converter class org.apache.hertzbeat.common.entity.manager.JsonLongListAttributeConverter with value
Expected Behavior
No response
Steps To Reproduce
No response
Environment
HertzBeat version(s):v1.6
Debug logs
No response
Anything else?
No response
You can check whether the receiver_id field of the hzb_notice_rule table conforms to the JSON format and change it manually first. It would be better if you could explain the operation in detail
我是老版本升级,然后打开“告警通知”就报错了。receiver_id 为1
post:/api/notice/rule 参数:{"enable":true,"filterAll":true,"templateId":null,"name":"开启钉钉推送","receiverId":[2],"receiverName":["dingding-DingDing"],"templateName":null,"tags":[]} 响应:{"data":null,"msg":"Could not commit JPA transaction","code":4}
pr #2090
同步一下数据库结构就OK了