You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] AlertReceiverServiceImpl.updateReceiver uses full updateByPrimaryKey, nulling omitted columns #6711
description: updateReceiver maps the DTO via AlertTransfer.INSTANCE.mapToAlertReceiverDO and calls alertReceiverMapper.updateByPrimaryKey(receiverDO) (full column update). Any DTO field not populated becomes NULL (e.g. namespaceId, levels, labels, matchAll, enable, config).
impact: Partial PUT payloads silently wipe receiver configuration, which can disable alerting or change matching scope.
suggested_fix: Switch to updateByPrimaryKeySelective(receiverDO), or require full DTO on update.
Activity
github-actions commentedon Aug 3, 2026
👋 Hello @Aias00
A new issue has been opened by @Aias00:
Please review when you have time. Thank you! 🙏
fix: preserve alert receiver fields during partial updates (#6711) (#…