-
Notifications
You must be signed in to change notification settings - Fork 161
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
JsonTokenizer fails in production mode with specific dependencies since 14.4.9 #10893
Comments
There are strange characters in |
The same exception happens when including a dependency with |
I follow this issue as it is creating problem in our development enviromnent |
I see that the sources have a strange character As for the reason where this comes from I don't yet know as in npm dependencies nor on the flow side there is nothing special that should lead to this. What IDEA sees is
Which would match with what I see in the string when running copying the fileContents string will when pasted contain 3 lines (with new lines on the U+200B position) for the handsontable sources when in the stats json there is 1 line. |
Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
* fix: Use IOUtils toStream and toString Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
* fix: Use IOUtils toStream and toString Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
* fix: Use IOUtils toStream and toString Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
* fix: Use IOUtils toStream and toString Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
* fix: Use IOUtils toStream and toString Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
This ticket/PR has been released with platform 14.6.1. For prerelease versions, it will be included in its final version. |
So if I'm using the 14.4.* version I have to wait the 14.4. update or I have to force the migration to 14.6? I need the LTS version update. When it will be released? |
14.6.1 is a LTS version. 15.x, 16.x,17.x etc. are non-LTS versions. |
Thanks @OlliTietavainenVaadin |
* fix: Use IOUtils toStream and toString Use IOUtils toString and toInputStream to not change any characters in the file content. fixes #10893
So when will this bug be fixed in the non-LTS versions? We are using vaadin 19 and are experiencing this bug in production mode. |
@mvdberge yes the fix is in v19 and will land in 19.0.8 I think. |
Great, thanks for the clarification |
This ticket/PR has been released with platform 19.0.8. For prerelease versions, it will be included in its final version. |
This ticket/PR has been released with platform 20.0.0.beta2. For prerelease versions, it will be included in its final version. |
This ticket/PR has been released with platform 21.0.0.alpha2. For prerelease versions, it will be included in its final version. |
Description of the bug / feature
There's a combination of add-ons (clipboardhelper and vcf-handsontable-flow) that have been working until 14.4.9 and broken since. Brokenness shows by crashing navigation when trying to navigate to a view with an instance of a ClipboardHelper component.
Minimal reproducible example
Multi-module project with only the necessary add-ons and a UI module included:
https://drive.google.com/file/d/19roS85CbTv0FIyilOWCnkZLfBdFEb1wN/view?usp=sharing
Steps to reproduce given above project:
mvn install
on theclipboardhelper
andvcf-handsontable-flow
modulesui-bootstrap
, first runmvn spring-boot:run
to run the application in development modelocalhost:8080/clipboard
; this should work normallymvn spring-boot:run -Pproduction
localhost:8080/clipboard
Expected behavior
The view with ClipboardHelper should open as in development mode
Actual behavior
Navigation to
/clipboard
fails with the following exception:Versions:
The text was updated successfully, but these errors were encountered: