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

Fixed native build after adding Jakarta Validator #280

Closed
dlabordus opened this issue Nov 15, 2022 · 0 comments · Fixed by #288
Closed

Fixed native build after adding Jakarta Validator #280

dlabordus opened this issue Nov 15, 2022 · 0 comments · Fixed by #288
Assignees
Labels
bug Something isn't working

Comments

@dlabordus
Copy link
Contributor

Subject of the issue

After adding validation of the message retrieved by the Websocket the native image isn't working anymore.
The problem is that the logging is not displayed (see com-pas/compas-architecture#173) so it's very hard to determine what is missing. It may be something simple.

The validation is done in the decode method from the websocket-commons module in CoMPAS Core.
The suspicion is that the validator implementation is being removed by GraalVM.

Steps to reproduce

  • Build the container image using maven and "-Pnative-image".
  • Use this image for instance in the Docker Compose file of CoMPAS Deployment.
  • Open a file from the local file system.
  • Make sure Websocket is used in the CoMPAS Settings
  • Try saving the file to CoMPAS using the name invalid/*name.
  • There should be a error message showing the name is invalid.

Expected behaviour

There is a error shown that marshalling is went wrong (in Log Dialog).

Actual behaviour

There should be a message shown that the name is invalid and can't be used (in Log Dialog).

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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant