Skip to content

[Bug] [service] save warningGroupId which not exist  #11824

@fuchanghai

Description

@fuchanghai

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

image

  • when i init database ,not find init a alertGroup which id equal 1
  • According to codes logic if warningGroup equal null, we will send message to alertGroup which id equal 1. id equal to 1 may not exist

What you expected to happen

i want to disscussion above question

How to reproduce

ATT

Anything else

@ruanwenjun i want you help,If you are sure that there is a problem with the above code, I will modify it

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions