[X] I had searched in the issues and found no similar issues.
What happened
In seatunnel-web input validation message are wrong. For example duplicate datasoruce followign message is displayed.
"datasource [datasource [mysql_db-1] already exists] already exists"
Looks like message template is processed incorrectly. Same is the case with other input validaiton messages as well.
Also there is anothe problem for these known validation error message is logged. For duplicate name follwoing stack trace is getting logged.
2024-08-15 00:38:21.284 seatunnel host1 ERROR [qtp1500821480-73] [GlobalExceptionHandler.logError():84] - datasource [mysql_db-1] already exists org.apache.seatunnel.server.common.SeatunnelException: datasource [mysql_db-1] already exists at org.apache.seatunnel.app.service.impl.DatasourceServiceImpl.createDatasource(DatasourceServiceImpl.java:109) at org.apache.seatunnel.app.controller.SeatunnelDatasourceController.createDatasource(SeatunnelDatasourceController.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
SeaTunnel Version
seatunnel-web version 1.0.1
SeaTunnel Config
NA
Running Command
NA
Error Exception
2024-08-15 00:38:21.284 seatunnel rocky1 ERROR [qtp1500821480-73] [GlobalExceptionHandler.logError():84] - datasource [mysql_db-1] already exists
org.apache.seatunnel.server.common.SeatunnelException: datasource [mysql_db-1] already exists
at org.apache.seatunnel.app.service.impl.DatasourceServiceImpl.createDatasource(DatasourceServiceImpl.java:109)
at org.apache.seatunnel.app.controller.SeatunnelDatasourceController.createDatasource(SeatunnelDatasourceController.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Search before asking
What happened
In seatunnel-web input validation message are wrong. For example duplicate datasoruce followign message is displayed. "datasource [datasource [mysql_db-1] already exists] already exists" Looks like message template is processed incorrectly. Same is the case with other input validaiton messages as well.
Also there is anothe problem for these known validation error message is logged. For duplicate name follwoing stack trace is getting logged.
2024-08-15 00:38:21.284 seatunnel host1 ERROR [qtp1500821480-73] [GlobalExceptionHandler.logError():84] - datasource [mysql_db-1] already exists org.apache.seatunnel.server.common.SeatunnelException: datasource [mysql_db-1] already exists at org.apache.seatunnel.app.service.impl.DatasourceServiceImpl.createDatasource(DatasourceServiceImpl.java:109) at org.apache.seatunnel.app.controller.SeatunnelDatasourceController.createDatasource(SeatunnelDatasourceController.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
SeaTunnel Version
seatunnel-web version 1.0.1
SeaTunnel Config
Running Command
Error Exception
Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
Are you willing to submit PR?
Code of Conduct