Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <update monitoring template error happen> #1899

Closed
1 task done
tomsun28 opened this issue May 1, 2024 · 1 comment · Fixed by #1900
Closed
1 task done

[BUG] <update monitoring template error happen> #1899

tomsun28 opened this issue May 1, 2024 · 1 comment · Fixed by #1900
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tomsun28
Copy link
Contributor

tomsun28 commented May 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I think this is due the EclipseLink orm replace of hibernate orm process casue

Apply Failed!
Exception [EclipseLink-4002] (Eclipse Persistence Services - 4.0.2.v202306161219): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "SELECT id, collector, creator, gmt_create, gmt_update, modifier, monitor_id FROM hzb_collector_monitor_bind WHERE (monitor_id IN [*]?)"; expected "("; SQL statement: SELECT id, collector, creator, gmt_create, gmt_update, modifier, monitor_id FROM hzb_collector_monitor_bind WHERE (monitor_id IN ?) [42001-224] Error Code: 42001 Call: SELECT id, collector, creator, gmt_create, gmt_update, modifier, monitor_id FROM hzb_collector_monitor_bind WHERE (monitor_id IN ?) bind => [1 parameter bound] Query: ReadAllQuery(referenceClass=CollectorMonitorBind sql="SELECT id, collector, creator, gmt_create, gmt_update, modifier, monitor_id FROM hzb_collector_monitor_bind WHERE (monitor_id IN ?)")

Expected Behavior

update success.

Steps To Reproduce

  1. update the websocket monitoring template in webui
  2. error happen

Environment

HertzBeat version(s): master code

Debug logs

No response

Anything else?

No response

@tomsun28 tomsun28 added the bug Something isn't working label May 1, 2024
@tomsun28 tomsun28 self-assigned this May 1, 2024
@tomsun28 tomsun28 added this to the 1.6.0 milestone May 1, 2024
@tomsun28
Copy link
Contributor Author

tomsun28 commented May 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant